|
OSMQ v2.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectosmq.mcns.MCRequestor
osmq.net.DiscoveryClient
Sends a "where is" request to a multicast group/port, and waits for a service to respond with its host/port. Uses a singleton to access, so there are not multiple multicast instances for a single application.
Method Summary | |
static DiscoveryClient |
getSingleton()
|
boolean |
isActiveService(java.lang.String servicename)
|
RemoteService |
locate(RemoteService es)
Locate service name embedded in es, and set the port and address of es. |
RemoteService |
locate(java.lang.String servicename)
locate service name embedded in es, and set the port and address of es. |
Methods inherited from class osmq.mcns.MCRequestor |
getChannel, isExceptionOnNoResponse, sendRequest, setChannel, setExceptionOnNoResponse |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DiscoveryClient getSingleton()
public boolean isActiveService(java.lang.String servicename)
public RemoteService locate(java.lang.String servicename) throws java.io.IOException
java.io.IOException
public RemoteService locate(RemoteService es) throws java.io.IOException
java.io.IOException
|
(c) 2000 - 2003 MQue Systems All Rights Reserved |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |