REC RPC library
|
RPC function wrapper interface. More...
#include <rec_rpc_Server.h>
Public Member Functions | |
virtual serialization::SerializablePtr | createParam () const =0 |
virtual serialization::SerializablePtr | createResult () const =0 |
virtual void | invoke (const serialization::Serializable ¶m, serialization::Serializable &result, const rec::rpc::ClientInfo &client) const =0 |
RPC function wrapper interface.
The interface that RPC function wrappers must implement. It is recommended to use the preprocessor macros to do this.
Definition at line 52 of file rec_rpc_Server.h.
|
pure virtual |
This method creates an instance of the RPC function parameter type.
|
pure virtual |
This method creates an instance of the RPC function return value type.
|
pure virtual |
This method is called by the server to invoke the function.
param | RPC function parameters. |
result | RPC function return values. |
client | Information about the calling client. |