|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.distribution.multicast.MulticastReceiver
public class MulticastReceiver
This is a multicast receiver for monitoring messages.
Constructor Summary | |
---|---|
MulticastReceiver(Receiving receiver,
MulticastAddress mcastAddr)
Construct a receiver for a particular multicast address |
Method Summary | |
---|---|
void |
join()
Join the address now and start listening |
void |
leave()
Leave the address now and stop 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 MulticastReceiver(Receiving receiver, MulticastAddress mcastAddr) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void join() throws java.io.IOException
java.io.IOException
public void leave() 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 |