Public Member Functions | |
boolean | dispatchCallback (int type, Object value, Callback callback, Completion completion, CBDescOut desc) |
Static Public Attributes | |
static final int | DONE_TYPE = 0 |
static final int | WORKING_TYPE = 1 |
Interface defining generic method to dispatch a callback.
boolean alma.ACS.jbaci.CallbackDispatcher.dispatchCallback | ( | int | type, | |
Object | value, | |||
Callback | callback, | |||
Completion | completion, | |||
CBDescOut | desc | |||
) |
Dispatches a callback.
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. Implemented in alma.ACS.impl.CommonROEnumPropertyImpl, and alma.ACS.jbaci.CBvoidCallbackDispatcher.
Referenced by alma.ACS.jbaci.BACIDispatchAction.dispatch(), and alma.ACS.jbaci.BACIAction.dispatch().
final int alma.ACS.jbaci.CallbackDispatcher.DONE_TYPE = 0 [static] |
'done' callback type constant.
final int alma.ACS.jbaci.CallbackDispatcher.WORKING_TYPE = 1 [static] |
'working' callback type constant.