public interface CallbackDispatcher
| Modifier and Type | Field and Description |
|---|---|
static int |
DONE_TYPE
'done' callback type constant.
|
static int |
WORKING_TYPE
'working' callback type constant.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
Dispatches a callback.
|
static final int DONE_TYPE
static final int WORKING_TYPE
boolean dispatchCallback(int type,
java.lang.Object value,
Callback callback,
Completion completion,
CBDescOut desc)
type - type of the callback (not strong typed to be flexible?!).value - value to be delivered.callback - callback.competion - completion.desc - callback out-descriptor.true if callback was successfully delivered, false on failure.