This commit is contained in:
crusader 2018-04-20 00:03:44 +09:00
parent 278a3cc0e2
commit 23f0b926b7

View File

@ -16,6 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.io.IOException; import java.io.IOException;
import java.util.Date;
/** /**
* Created by snoop on 17. 9. 28. * Created by snoop on 17. 9. 28.
@ -86,7 +87,16 @@ public class DiscoveryService {
messagePublisher.publishToProbe(probeID, "DiscoveryService.DiscoverService", requesterSessionID, port, discoveryService); messagePublisher.publishToProbe(probeID, "DiscoveryService.DiscoverService", requesterSessionID, port, discoveryService);
} }
@ProbeAPI
public void discoveryStart(String requesterSessionID, Date startDate) {
messagePublisher.publishToMemberSession(requesterSessionID, "DiscoveryService.discoveryStart", startDate);
}
@ProbeAPI
public void discoveryStop(String requesterSessionID, Date stopDate) {
messagePublisher.publishToMemberSession(requesterSessionID, "DiscoveryService.discoveryStop", stopDate);
}
@ProbeAPI @ProbeAPI
public void discoveredZone(String requesterSessionID, Zone zone) { public void discoveredZone(String requesterSessionID, Zone zone) {