|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.services.net.landiscovery.multicast.discoverer.ServiceBrowser
public final class ServiceBrowser
The Class ServiceBrowser.
Constructor Summary | |
---|---|
ServiceBrowser(ServiceDiscoveryParams params)
Instantiates a new service browser. |
Method Summary | |
---|---|
void |
registerListener(ServiceDiscoveryListener l)
Register listener. |
void |
registerServiceForListening(java.lang.String type,
java.lang.String name)
Register service for listening. |
void |
removeListener(ServiceDiscoveryListener l)
Removes the listener. |
void |
run()
|
void |
start()
Start. |
void |
startListener()
Start listener. |
void |
stop()
Stop. |
void |
stopListener()
Stop listener. |
void |
stopLookup()
Stop lookup. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceBrowser(ServiceDiscoveryParams params) throws java.io.IOException
params
- the params
java.io.IOException
- Signals that an I/O exception has occurred.Method Detail |
---|
public void registerListener(ServiceDiscoveryListener l)
ServiceDiscoverySystem
registerListener
in interface ServiceDiscoverySystem
l
- the lpublic void registerServiceForListening(java.lang.String type, java.lang.String name)
ServiceDiscoverySystem
registerServiceForListening
in interface ServiceDiscoverySystem
type
- the typename
- the namepublic void removeListener(ServiceDiscoveryListener l)
ServiceDiscoverySystem
removeListener
in interface ServiceDiscoverySystem
l
- the lpublic void run()
run
in interface java.lang.Runnable
public void start()
ServiceDiscoverySystem
start
in interface ServiceDiscoverySystem
public void startListener()
public void stop()
ServiceDiscoverySystem
stop
in interface ServiceDiscoverySystem
public void stopListener()
public void stopLookup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |