|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lateralnz.messaging.multicast.MulticastMessageHandlerFactory
public class MulticastMessageHandlerFactory
factory class for notification handlers, so we don't have to instantiate multiple copies. (in other words, there should be only one notification handler in a VM per IP address & port)
| 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 MulticastMessageHandlerFactory |
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 |
|---|
public static final MulticastMessageHandlerFactory getInstance()
public MessageHandler getHandler(java.lang.String ipaddress,
int port)
throws java.lang.Exception
java.lang.Exception
public MessageHandler getDefaultHandler()
throws java.lang.Exception
java.lang.Exceptionpublic static final void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||