public class Connector extends Object
Constructor and Description |
---|
Connector() |
Modifier and Type | Method and Description |
---|---|
static void |
deRegisterHandler(Handler h)
Removes a handler for receiving cluster messages.
|
static void |
deRegisterHandler(Handler h,
String msgType)
Removes 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.
|
public static void publish(Message m)
m
- the message to publishpublic static void publishImmediate(Message m) throws Exception
m
- the message to publishException
public static void registerHandler(Handler h, String msgType)
h
- the handler to registermsgType
- the type of message to handlepublic 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@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.