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
-
RPCCall(InterfaceClass *interfaceClass, SessionClass *session)¶ Constructor.
- Parameters
interfaceClass: Interface to call when call is executed.session: Session that initiated the call.
-
~RPCCall()¶ Destructor.
-
const MessageClass *
getMessage() const¶ Retrieves the cached network message that contains the arguments for this call.
- Return
Network message that contains the arguments for this call.
-
shared_ptr<GenericRPCReplyMessage>
getReturnValue() const¶ Retrieve the return value of the RPC call.
- Return
return value.
-
string
getType() const¶ Return the type of the caller class, extracted from the template message class.
- Return
Type of the caller class.
-
void
setArguments(const MessagePackage &message)¶ See AbstractRPCCall::setArguments.
Public Static Functions
-
string
Type()¶ Return the type of the caller class, extracted from the template message class.
- Return
Type of the caller class.
-