|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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,
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,
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 publish
public static void publishImmediate(Message m)
throws Exception
m - the message to publish
Exception
public static void registerHandler(Handler h,
String msgType)
h - the handler to registermsgType - the type of message to handle
public static void deRegisterHandler(Handler h,
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 | ||||||||