|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.services.net.peer.ServerStatusMonitor
public class ServerStatusMonitor
The Class ServerStatusMonitor.
| Constructor Summary | |
|---|---|
ServerStatusMonitor(java.lang.String serviceType,
java.lang.String serviceName,
long timeOut)
Instantiates a new server status monitor. |
|
| Method Summary | |
|---|---|
void |
connect()
Connect. |
ServiceDescriptor |
getServerServiceDescriptor()
Gets the server service descriptor. |
boolean |
serverFound()
Server found. |
void |
serviceAvailable(ServiceDescriptor sd)
Service available. |
void |
serviceRemoved(ServiceDescriptor sd)
Service removed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerStatusMonitor(java.lang.String serviceType,
java.lang.String serviceName,
long timeOut)
serviceType - the service typeserviceName - the service nametimeOut - the time out| Method Detail |
|---|
public void connect()
throws java.lang.InterruptedException
java.lang.InterruptedException - the interrupted exceptionpublic ServiceDescriptor getServerServiceDescriptor()
public boolean serverFound()
public void serviceAvailable(ServiceDescriptor sd)
ServiceDiscoveryListener
serviceAvailable in interface ServiceDiscoveryListenersd - the descriptorpublic void serviceRemoved(ServiceDescriptor sd)
ServiceDiscoveryListener
serviceRemoved in interface ServiceDiscoveryListenersd - the descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||