MIRA
|
Abstract interface for DeferredInvoker which is a class to support different RPC backends. More...
#include <rpc/AbstractDeferredInvoker.h>
Public Member Functions | |
AbstractDeferredInvoker (const std::string &callId, const std::string &service, const std::string &method) | |
virtual | ~AbstractDeferredInvoker () |
const std::string & | getCallId () const |
Returns the unique ID of the RPC call that is about to be invoked by this invoker. More... | |
void | setFinishHandler (DeferredInvokerFinishHandler *handler) |
Sets a handler that is called after the RPC call was invoked and has finished. More... | |
virtual void | invoke ()=0 |
Invokes the RPC call that is represented by this DeferredInvoker. More... | |
const std::string & | getServiceName () const |
Returns the name of the service where the method is invoked. More... | |
const std::string & | getMethodName () const |
Returns the name of the method that is invoked. More... | |
Protected Attributes | |
std::string | mCallId |
std::string | mServiceName |
std::string | mMethodName |
DeferredInvokerFinishHandler * | mFinishHandler |
Abstract interface for DeferredInvoker which is a class to support different RPC backends.
|
inline |
|
inlinevirtual |
|
inline |
Returns the unique ID of the RPC call that is about to be invoked by this invoker.
|
inline |
Sets a handler that is called after the RPC call was invoked and has finished.
|
pure virtual |
Invokes the RPC call that is represented by this DeferredInvoker.
Implemented in RPCServer::DeferredInvoker< Backend >.
|
inline |
Returns the name of the service where the method is invoked.
|
inline |
Returns the name of the method that is invoked.
|
protected |
|
protected |
|
protected |
|
protected |