|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.log.MCastListener
Listen for multicast messages.
| Constructor Summary | |
MCastListener(InetAddress ia,
int port)
Get an instance of MCastListener listening on the given group and port. |
|
| Method Summary | |
void |
close()
Close up the multicast socket and free any other resources this thing is using. |
SpyMessage |
getNextMessage()
Get the next message in the multicast group. |
static void |
main(String[] args)
Testing and what not. |
| Methods inherited from class net.spy.SpyObject |
getLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MCastListener(InetAddress ia,
int port)
throws IOException
| Method Detail |
public SpyMessage getNextMessage()
throws IOException
IOExceptionpublic void close()
public static void main(String[] args)
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||