ing
This commit is contained in:
parent
54053757a3
commit
a9a1850a75
|
@ -226,7 +226,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService {
|
|||
noAuthProbe.setConnectAddress(connectAddress);
|
||||
noAuthProbe = this.noAuthProbeDAO.save(noAuthProbe);
|
||||
|
||||
messagePublisher.publishToDomainMembers(noAuthProbe.getDomain().getId(), "NoAuthProbeService.onConnect", tempKey, connectAddress);
|
||||
messagePublisher.publishToDomainMembers(noAuthProbe.getDomain().getId(), "NoAuthProbeService.onConnect", noAuthProbe);
|
||||
}
|
||||
|
||||
public void onDisconnect(String tempKey) throws OverflowException {
|
||||
|
@ -235,7 +235,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService {
|
|||
noAuthProbe.setConnectAddress(null);
|
||||
noAuthProbe = this.noAuthProbeDAO.save(noAuthProbe);
|
||||
|
||||
messagePublisher.publishToDomainMembers(noAuthProbe.getDomain().getId(), "NoAuthProbeService.onDisconnect", tempKey);
|
||||
messagePublisher.publishToDomainMembers(noAuthProbe.getDomain().getId(), "NoAuthProbeService.onDisconnect", noAuthProbe);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ public class CentralProbeService implements ProbeService {
|
|||
probe.setConnectAddress(connectAddress);
|
||||
probe = this.probeDAO.save(probe);
|
||||
|
||||
messagePublisher.publishToDomainMembers(probe.getDomain().getId(), "ProbeService.onConnect", probeKey, connectAddress);
|
||||
messagePublisher.publishToDomainMembers(probe.getDomain().getId(), "ProbeService.onConnect", probe);
|
||||
}
|
||||
|
||||
public void onDisconnect(String probeKey) throws OverflowException {
|
||||
|
@ -90,6 +90,6 @@ public class CentralProbeService implements ProbeService {
|
|||
probe.setConnectAddress(null);
|
||||
probe = this.probeDAO.save(probe);
|
||||
|
||||
messagePublisher.publishToDomainMembers(probe.getDomain().getId(), "ProbeService.onDisconnect", probeKey);
|
||||
messagePublisher.publishToDomainMembers(probe.getDomain().getId(), "ProbeService.onDisconnect", probe);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user