Implementation of the RPC caller that represents a given network message class type. More...
#include <rpc_call.hpp>
Public Member Functions | |
const MessageClass * | getMessage () const |
Retrieves the cached network message that contains the arguments for this call. | |
virtual shared_ptr< GenericRPCReplyMessage > | getReturnValue () const |
Retrieve the return value of the RPC call. | |
virtual string | getType () const |
Return the type of the caller class, extracted from the template message class. | |
RPCCall (InterfaceClass *interfaceClass, SessionClass *session) | |
Constructor. | |
virtual void | setArguments (const MessagePackage &message) |
See AbstractRPCCall::setArguments. | |
virtual | ~RPCCall () |
Destructor. | |
![]() | |
AbstractRPCCall () | |
Constructor. | |
virtual void | execute ()=0 |
Executes the function call with given arguments. | |
virtual | ~AbstractRPCCall () |
Destructor. | |
Static Public Member Functions | |
static string | Type () |
Return the type of the caller class, extracted from the template message class. | |
Protected Member Functions | |
void | setReturnValue (shared_ptr< GenericRPCReplyMessage > value) |
Sets the return value. | |
Protected Attributes | |
InterfaceClass * | m_interface |
Connected interface. | |
const MessageClass * | m_message |
Cached message arguments. | |
shared_ptr< GenericRPCReplyMessage > | m_returnValue |
Return value from the. | |
SessionClass * | m_session |
Session that initiated the RPC call. | |
Implementation of the RPC caller that represents a given network message class type.
|
inline |
Constructor.
interfaceClass | Interface to call when call is executed. |
session | Session that initiated the call. |
|
inlinevirtual |
Destructor.
|
inline |
Retrieves the cached network message that contains the arguments for this call.
|
inlinevirtual |
Retrieve the return value of the RPC call.
Reimplemented from kanzi::connect::AbstractRPCCall.
|
inlinevirtual |
Return the type of the caller class, extracted from the template message class.
Implements kanzi::connect::AbstractRPCCall.
|
inlinevirtual |
See AbstractRPCCall::setArguments.
Implements kanzi::connect::AbstractRPCCall.
|
inlineprotected |
Sets the return value.
|
inlinestatic |
Return the type of the caller class, extracted from the template message class.
|
protected |
Connected interface.
|
protected |
Cached message arguments.
|
protected |
Return value from the.
|
protected |
Session that initiated the RPC call.