MIRA
|
Handler that must be implemented by the remote module to send RPC requests to a remote server. More...
#include <rpc/RPCManager.h>
Public Member Functions | |
virtual | ~RemoteRequestHandler () |
virtual void | onRPCrequested (Buffer< uint8 > &&request)=0 |
Handler that must be implemented by the remote module to send RPC requests to a remote server.
The handler is specified in the addRemoteService(). Whenever, a method of the registered remote service is called, the associated handler is invoked by calling its onRPCrequested() method, where the request is passed as parameter. The handler must ship the request to the remote server side. There the handleRemoteRequest() method of the remote RPCManager will be called.
|
inlinevirtual |
|
pure virtual |
Implemented in RemoteConnection::RPCRemoteRequestHandler.