#include <coherence/net/AbstractInvocable.hpp>
Inherits Object, and Invocable.
For Invocables which only run within the Coherence cluster (most common case), the C++ init, getResult and run methods can be left unimplemented.
Public Types | |
typedef spec::Handle | Handle |
AbstractInvocable Handle definition. | |
typedef spec::View | View |
AbstractInvocable View definition. | |
typedef spec::Holder | Holder |
AbstractInvocable Holder definition. | |
Public Member Functions | |
virtual void | init (InvocationService::Handle hService) |
| |
virtual Object::Holder | getResult () const |
Determine the result from the invocation of this object. This method is called by the InvocationService after the run() method returns.
| |
virtual void | run () |
Invoke the Runnable. |
virtual void init | ( | InvocationService::Handle | hService | ) | [virtual] |
This implementation throws an UnsupportedOperationException.
virtual Object::Holder getResult | ( | ) | const [virtual] |
Determine the result from the invocation of this object.
This method is called by the InvocationService after the run() method returns.
This implementation throws an UnsupportedOperationException.
Implements Invocable.
virtual void run | ( | ) | [virtual] |