public class CBvoidCallbackDispatcher extends java.lang.Object implements CallbackDispatcher
DONE_TYPE, WORKING_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
CBvoidCallbackDispatcher()
Protected constructor (singleton pattern).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
Dispatches a callback.
|
static CBvoidCallbackDispatcher |
getInstance()
Singleton pattern.
|
protected CBvoidCallbackDispatcher()
public static CBvoidCallbackDispatcher getInstance()
public boolean dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
CallbackDispatcherdispatchCallback in interface CallbackDispatchertype - type of the callback (not strong typed to be flexible?!).value - value to be delivered.callback - callback.desc - callback out-descriptor.true if callback was successfully delivered, false on failure.alma.ACS.jbaci.CallbackDispatcher#dispatchCallback(int, java.lang.Object, alma.ACSErr.Completion, alma.ACS.CBDescOut)