RPCCall¶
-
template<class
InterfaceClass
, classSessionClass
, classMessageClass
>
classkanzi::connect
::
RPCCall
: public AbstractRPCCall¶ Implementation of the RPC caller that represents a given network message class type.
Public Functions
-
inline
RPCCall
(InterfaceClass *interfaceClass, SessionClass *session)¶ Constructor.
- Parameters
interfaceClass – Interface to call when call is executed.
session – Session that initiated the call.
-
inline virtual
~RPCCall
()¶ Destructor.
-
inline const MessageClass *
getMessage
() const¶ Retrieves the cached network message that contains the arguments for this call.
- Returns
Network message that contains the arguments for this call.
-
inline virtual shared_ptr<GenericRPCReplyMessage>
getReturnValue
() const¶ Retrieve the return value of the RPC call.
- Returns
return value.
-
inline virtual string
getType
() const¶ Return the type of the caller class, extracted from the template message class.
- Returns
Type of the caller class.
-
inline virtual void
setArguments
(const MessagePackage &message)¶ See AbstractRPCCall::setArguments.
Public Static Functions
-
static inline string
Type
()¶ Return the type of the caller class, extracted from the template message class.
- Returns
Type of the caller class.
-
inline