#include <coherence/net/InvocationService.hpp>
Inherits Service.
The executable objects must implement the Invocable interface, which extends the Runnable interface. Using this interface, application code can cause execution of an Invocable object to occur within the cluster.
Public Types | |
typedef spec::Handle | Handle |
InvocationService Handle definition. | |
typedef spec::View | View |
InvocationService View definition. | |
typedef spec::Holder | Holder |
InvocationService Holder definition. | |
Public Member Functions | |
virtual Map::View | query (Invocable::Handle hTask, Set::View vSetMembers)=0 |
Synchronously invoke the specified task on each of the specified members. |
virtual Map::View query | ( | Invocable::Handle | hTask, | |
Set::View | vSetMembers | |||
) | [pure virtual] |
Synchronously invoke the specified task on each of the specified members.
This method will not return until the specified members have completed their processing, failed in their processing, or died trying.
Currently, the client implementation of this interface only supports invocation on the cluster member to which the client is connected. Therefore, the specified Set of Member objects must be NULL.
hTask | the Invocable object to distribute to the specified members in order to be invoked on those members | |
vSetMembers | must be NULL (future use) |