org.lateralnz.messaging.broadcast
Class BroadcastMessageHandlerFactory

java.lang.Object
  extended by org.lateralnz.messaging.broadcast.BroadcastMessageHandlerFactory

public class BroadcastMessageHandlerFactory
extends java.lang.Object


Method Summary
 MessageHandler getDefaultHandler()
          get the default handler
 MessageHandler getHandler(java.lang.String ipaddress, int port)
          get the handler with the specified ip address and port
static BroadcastMessageHandlerFactory getInstance()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final BroadcastMessageHandlerFactory getInstance()

getHandler

public MessageHandler getHandler(java.lang.String ipaddress,
                                 int port)
                          throws java.lang.Exception
get the handler with the specified ip address and port

Throws:
java.lang.Exception

getDefaultHandler

public MessageHandler getDefaultHandler()
                                 throws java.lang.Exception
get the default handler

Throws:
java.lang.Exception

main

public static final void main(java.lang.String[] args)