|
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
Sends a string to a multicast group/port, and waits for a response. The response is a standard datagram UDP message.
Unlike the MCResponder, this method does not require use of a MulticastSocket, because it does not join a multicast group. It simply writes a datagram to the multicast channel as if it were a standard IP address/port combination.
Method Summary | |
int |
getChannel()
|
boolean |
isExceptionOnNoResponse()
|
java.lang.String |
sendRequest(java.lang.String value)
Writes a string to the multicast channel and wait for a response. |
void |
setChannel(int channel)
|
void |
setExceptionOnNoResponse(boolean enr)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final java.lang.String sendRequest(java.lang.String value) throws java.io.IOException
java.io.IOException
public void setExceptionOnNoResponse(boolean enr)
public boolean isExceptionOnNoResponse()
public void setChannel(int channel)
public int getChannel()
|
(c) 2000 - 2003 MQue Systems All Rights Reserved |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |