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. More... | |
| virtual shared_ptr< GenericRPCReplyMessage > | getReturnValue () const |
| Retrieve the return value of the RPC call. More... | |
| virtual string | getType () const |
| Return the type of the caller class, extracted from the template message class. More... | |
| RPCCall (InterfaceClass *interfaceClass, SessionClass *session) | |
| Constructor. More... | |
| virtual void | setArguments (const MessagePackage &message) |
| See AbstractRPCCall::setArguments. More... | |
| virtual | ~RPCCall () |
| Destructor. More... | |
Public Member Functions inherited from kanzi::connect::AbstractRPCCall | |
| AbstractRPCCall () | |
| Constructor. More... | |
| virtual void | execute ()=0 |
| Executes the function call with given arguments. More... | |
| virtual | ~AbstractRPCCall () |
| Destructor. More... | |
Static Public Member Functions | |
| static string | Type () |
| Return the type of the caller class, extracted from the template message class. More... | |
Protected Member Functions | |
| void | setReturnValue (shared_ptr< GenericRPCReplyMessage > value) |
| Sets the return value. More... | |
Protected Attributes | |
| InterfaceClass * | m_interface |
| Connected interface. More... | |
| const MessageClass * | m_message |
| Cached message arguments. More... | |
| shared_ptr< GenericRPCReplyMessage > | m_returnValue |
| Return value from the. More... | |
| SessionClass * | m_session |
| Session that initiated the RPC call. More... | |
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.