|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.distribution.udp.UDPReceiver
public class UDPReceiver
This is a UDP receiver for monitoring messages.
Constructor Summary | |
---|---|
UDPReceiver(Receiving receiver,
java.net.InetSocketAddress ipAddr)
Construct a receiver for a particular IP address |
Method Summary | |
---|---|
void |
end()
Leave the address now and stop listening |
void |
listen()
Join the address now and start listening |
protected boolean |
receive()
Receive a message from the multicast address. |
void |
run()
The Runnable body |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDPReceiver(Receiving receiver, java.net.InetSocketAddress ipAddr) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void listen() throws java.io.IOException
java.io.IOException
public void end() throws java.io.IOException
java.io.IOException
protected boolean receive()
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |