Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::ACS::jbaci::CallbackDispatcher Interface Reference

Inheritance diagram for alma::ACS::jbaci::CallbackDispatcher:

Inheritance graph
[legend]
List of all members.

Public Member Functions

boolean dispatchCallback (int type, Object value, Callback callback, Completion completion, CBDescOut desc)

Static Public Attributes

final int DONE_TYPE = 0
final int WORKING_TYPE = 1

Detailed Description

Interface defining generic method to dispatch a callback.
Author:
Matej Sekoranja
Version:
$id$


Member Function Documentation

boolean alma::ACS::jbaci::CallbackDispatcher::dispatchCallback int  type,
Object  value,
Callback  callback,
Completion  completion,
CBDescOut  desc
 

Dispatches a callback.

Parameters:
type type of the callback (not strong typed to be flexible?!).
value value to be delivered.
callback callback.
competion completion.
desc callback out-descriptor.
Returns:
true if callback was successfully delivered, false on failure.

Implemented in alma::ACS::jbaci::CBvoidCallbackDispatcher, alma::ACS::jbaci::test::BACIDispatchActionTest::TestCallbackDispatcher, alma::ACS::jbaci::test::BACIDispatchActionTest::PerfectCallbackDispatcher, alma::ACS::jbaci::test::BACIDispatchActionTest::DisasterCallbackDispatcher, alma::ACS::jbaci::test::BACIDispatchActionTest::ExceptionCallbackDispatcher, alma::ACS::jbaci::test::BACIDispatchActionTest::FirstFailedCallbackDispatcher, and alma::ACS::jbaci::test::BACIDispatchActionTest::OverrideTestCallbackDispatcher.


Member Data Documentation

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.


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 02:53:28 2009 for ACS Java API by doxygen 1.3.8