|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.cluster.communication.Connector
public class Connector
The facade to the cluster communication mechanism.
Constructor Summary | |
---|---|
Connector()
|
Method Summary | |
---|---|
static void |
deRegisterHandler(Handler h)
Registers a handler for receiving cluster messages. |
static void |
deRegisterHandler(Handler h,
java.lang.String msgType)
Registers a handler for receiving cluster messages. |
static void |
publish(Message m)
Publishes the message at commit time. |
static void |
publishImmediate(Message m)
Publishes the Message immediately. |
static void |
registerHandler(Handler h)
Registers a handler for receiving cluster messages. |
static void |
registerHandler(Handler h,
java.lang.String msgType)
Registers a handler for receiving cluster messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Connector()
Method Detail |
---|
public static void publish(Message m)
m
- the message to publishpublic static void publishImmediate(Message m) throws java.lang.Exception
m
- the message to publish
java.lang.Exception
public static void registerHandler(Handler h, java.lang.String msgType)
h
- the handler to registermsgType
- the type of message to handlepublic static void deRegisterHandler(Handler h, java.lang.String msgType)
h
- the handler to registermsgType
- the type of message to handlepublic static void registerHandler(Handler h)
h
- the handler to registerpublic static void deRegisterHandler(Handler h)
h
- the handler to deregister
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |