net.spy.log
Class MCastLog

java.lang.Object
  extended bynet.spy.log.MCastLog

public class MCastLog
extends Object

Multicast log sender.


Constructor Summary
MCastLog(InetAddress ia, int port)
          Get an instance of MCastLog that will send messages to the given Multicast address on the given port.
 
Method Summary
 void close()
          Close this log thingy.
static void main(String[] args)
          Testing and what not.
 void sendMessage(SpyMessage sm)
          Send a SpyMessage on this multicast socket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCastLog

public MCastLog(InetAddress ia,
                int port)
         throws IOException
Get an instance of MCastLog that will send messages to the given Multicast address on the given port.

Method Detail

sendMessage

public void sendMessage(SpyMessage sm)
                 throws IOException
Send a SpyMessage on this multicast socket.

Throws:
IOException

close

public void close()
Close this log thingy.


main

public static void main(String[] args)
                 throws Exception
Testing and what not.

Throws:
Exception