|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.services.SynergyNetService
synergynetframework.appsystem.services.net.netservicediscovery.NetworkServiceDiscoveryService
public class NetworkServiceDiscoveryService
Service that publishes information about services, or listens for services that become available or become unavailable.
Constructor Summary | |
---|---|
NetworkServiceDiscoveryService()
Instantiates a new network service discovery service. |
Method Summary | |
---|---|
ServiceAnnounceSystem |
getServiceAnnouncer()
Gets the service announcer. |
ServiceDiscoverySystem |
getServiceDiscovery()
Gets the service discovery. |
boolean |
hasStarted()
Checks for started. |
void |
shutdown()
Shutdown. |
void |
start()
Start. |
void |
stop()
Stop. |
void |
update()
Used to avoid threading issues. |
Methods inherited from class synergynetframework.appsystem.services.SynergyNetService |
---|
registerServiceMessageListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkServiceDiscoveryService()
Method Detail |
---|
public ServiceAnnounceSystem getServiceAnnouncer()
public ServiceDiscoverySystem getServiceDiscovery()
public boolean hasStarted()
SynergyNetService
hasStarted
in class SynergyNetService
public void shutdown()
SynergyNetService
shutdown
in class SynergyNetService
public void start() throws CouldNotStartServiceException
SynergyNetService
CouldNotStartServiceException
- the could not start service exceptionpublic void stop()
SynergyNetService
stop
in class SynergyNetService
public void update()
SynergyNetService
update
in class SynergyNetService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |