org.lateralnz.messaging.devnull
Class DNMessageHandlerFactory

java.lang.Object
  extended by org.lateralnz.messaging.devnull.DNMessageHandlerFactory

public class DNMessageHandlerFactory
extends java.lang.Object

the equivalent of sending a message to /dev/null (rather than transmitting). The message is logged, then thrown away


Method Summary
 MessageHandler getHandler()
          get the handler with the specified ip address and port
static DNMessageHandlerFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final DNMessageHandlerFactory getInstance()

getHandler

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

Throws:
java.lang.Exception