Public Member Functions | |
| BACIAction (PrioritizedExecutor executor, CBvoid callback, CBDescIn descIn) | |
| BACIAction (PrioritizedExecutor executor, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher) | |
| BACIAction (PrioritizedExecutor executor, CBvoid callback, CBDescIn descIn, BACIPriority priority) | |
| BACIAction (PrioritizedExecutor executor, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher, BACIPriority priority) | |
| BACIPriority | getPriority () |
| final void | run () |
| abstract Object | execute () throws AcsJException |
| void | submit () |
Protected Member Functions | |
| boolean | dispatch () |
Static Protected Member Functions | |
| static CBDescOut | generateCBDescOut (CBDescIn descIn) |
Protected Attributes | |
| BACIPriority | priority |
| PrioritizedExecutor | executor |
| CBDescOut | descOut |
| Callback | callback |
| CallbackDispatcher | callbackDispatcher |
| Completion | completion |
| Object | returnValue |
BACI action.
| alma.ACS.jbaci.BACIAction.BACIAction | ( | PrioritizedExecutor | executor, | |
| CBvoid | callback, | |||
| CBDescIn | descIn | |||
| ) |
Constructor of NORMAL priority action (CBvoid callback).
| executor | executor to be used to execute action. | |
| callback | action callback. | |
| descIn | action callback in descriptor. |
| alma.ACS.jbaci.BACIAction.BACIAction | ( | PrioritizedExecutor | executor, | |
| Callback | callback, | |||
| CBDescIn | descIn, | |||
| CallbackDispatcher | callbackDispatcher | |||
| ) |
Constructor of NORMAL priority action.
| executor | executor to be used to execute action. | |
| callback | action callback. | |
| descIn | action callback in descriptor. | |
| callbackDispatcher | callback dispatcher (value dependend). |
| alma.ACS.jbaci.BACIAction.BACIAction | ( | PrioritizedExecutor | executor, | |
| CBvoid | callback, | |||
| CBDescIn | descIn, | |||
| BACIPriority | priority | |||
| ) |
Constructor.
| executor | executor to be used to execute action. | |
| callback | action callback. | |
| descIn | action in descriptor. | |
| priority | action priority. |
| alma.ACS.jbaci.BACIAction.BACIAction | ( | PrioritizedExecutor | executor, | |
| Callback | callback, | |||
| CBDescIn | descIn, | |||
| CallbackDispatcher | callbackDispatcher, | |||
| BACIPriority | priority | |||
| ) |
Constructor.
| executor | executor to be used to execute action. | |
| callback | action callback. | |
| descIn | action in descriptor. | |
| callbackDispatcher | callback dispatcher (value dependend). | |
| priority | action priority. |
References alma.ACS.jbaci.BACIAction.descOut, and alma.ACS.jbaci.BACIAction.generateCBDescOut().
| boolean alma.ACS.jbaci.BACIAction.dispatch | ( | ) | [protected] |
Dispatch method.
true if successfully dispatched. References alma.ACS.jbaci.BACIAction.callback, alma.ACS.jbaci.BACIAction.callbackDispatcher, alma.ACS.jbaci.BACIAction.completion, alma.ACS.jbaci.BACIAction.descOut, alma.ACS.jbaci.CallbackDispatcher.dispatchCallback(), and alma.ACS.jbaci.BACIAction.returnValue.
Referenced by alma.ACS.jbaci.BACIAction.run().
| abstract Object alma.ACS.jbaci.BACIAction.execute | ( | ) | throws AcsJException [pure virtual] |
Action to be executed - implement it. If completion field is left to null (by this method), this class will create a no-error completion with current timestamp. Use alma.ACS.jbaci.CompletionUtil class to generate no-error completion.
null. Implemented in alma.ACS.impl.CommonPropertyImpl.GetAsyncAction, alma.ACS.impl.CommonPropertyImpl.SetAsyncAction, alma.ACS.impl.RWCommonComparablePropertyImpl.IncrementAction, alma.ACS.impl.RWCommonComparablePropertyImpl.DecrementAction, and alma.ACS.jbaci.ReflectionBACIAction.
Referenced by alma.ACS.jbaci.BACIAction.run().
| static CBDescOut alma.ACS.jbaci.BACIAction.generateCBDescOut | ( | CBDescIn | descIn | ) | [static, protected] |
Generates callback out descriptor from in descriptor.
| descIn | callback in descriptor. |
Referenced by alma.ACS.jbaci.BACIAction.BACIAction().
| BACIPriority alma.ACS.jbaci.BACIAction.getPriority | ( | ) |
Implements alma.ACS.jbaci.PrioritizedRunnable.
References alma.ACS.jbaci.BACIAction.priority.
| final void alma.ACS.jbaci.BACIAction.run | ( | ) |
NOT TO BE CHANGED.
References alma.ACS.jbaci.BACIAction.completion, alma.ACS.jbaci.BACIAction.dispatch(), alma.ACS.jbaci.BACIAction.execute(), and alma.ACS.jbaci.BACIAction.returnValue.
| void alma.ACS.jbaci.BACIAction.submit | ( | ) |
Sumbit action to be BACIExecutor to be executed.
References alma.ACS.jbaci.PrioritizedExecutor.execute(), and alma.ACS.jbaci.BACIAction.executor.
Callback alma.ACS.jbaci.BACIAction.callback [protected] |
Callback.
Referenced by alma.ACS.jbaci.BACIAction.dispatch().
Callback dispatcher (used to dispatch non-CBvoid callbacks).
Referenced by alma.ACS.jbaci.BACIAction.dispatch().
Completion alma.ACS.jbaci.BACIAction.completion [protected] |
Completion.
Referenced by alma.ACS.jbaci.BACIAction.dispatch(), alma.ACS.impl.RWCommonComparablePropertyImpl.DecrementAction.execute(), alma.ACS.impl.RWCommonComparablePropertyImpl.IncrementAction.execute(), alma.ACS.impl.CommonPropertyImpl.SetAsyncAction.execute(), alma.ACS.impl.CommonPropertyImpl.GetAsyncAction.execute(), and alma.ACS.jbaci.BACIAction.run().
CBDescOut alma.ACS.jbaci.BACIAction.descOut [protected] |
Callback out descriptor.
Referenced by alma.ACS.jbaci.BACIAction.BACIAction(), and alma.ACS.jbaci.BACIAction.dispatch().
Executor.
Referenced by alma.ACS.jbaci.BACIAction.submit().
BACIPriority alma.ACS.jbaci.BACIAction.priority [protected] |
Action priority.
Referenced by alma.ACS.jbaci.BACIAction.getPriority().
Object alma.ACS.jbaci.BACIAction.returnValue [protected] |
Return value.
Referenced by alma.ACS.jbaci.BACIAction.dispatch(), alma.ACS.impl.CommonPropertyImpl.GetAsyncAction.execute(), and alma.ACS.jbaci.BACIAction.run().
1.7.0