This commit is contained in:
crusader 2018-06-06 02:37:32 +09:00
parent 02f72e5481
commit 6f55a0a6fd

View File

@ -62,6 +62,10 @@ func (s *DiscoveryService) DiscoverService(requesterID string, port *ocmd.Port,
return s.ContainerService.Send(occp.ContainerDiscovery, "DiscoveryService.DiscoverService", requesterID, port, dService)
}
func (s *DiscoveryService) StopDiscovery(requesterID string) error {
return s.ContainerService.Send(occp.ContainerDiscovery, "DiscoveryService.StopDiscovery", requesterID)
}
// use by discovery
func (s *DiscoveryService) DiscoveryStart(requesterID string, t *util.Timestamp) error {
return s.ProbeClientService.Send("DiscoveryService.discoveryStart", requesterID, t)