Encapsulates an RPC request directed to a process for subsequent execution via the function operator. More...
Public Member Functions | |
constexpr | rpc_request (const size_type size) noexcept |
rpc_request (rpc_request const &)=delete | |
rpc_request & | operator= (rpc_request const &)=delete |
constexpr size_type | size (void) const noexcept |
size_type & | size (void) noexcept |
virtual void | operator() (message_shared_ptr &)=0 |
Public Types | |
typedef std::size_t | size_type |
Encapsulates an RPC request directed to a process for subsequent execution via the function operator.
rpc_request objects package all information for buffering and transfer. The 'header' contains the size of the request. The 'body' (derived class) has the desired function and any arguments required to invoke it.