MIRA
Public Member Functions | List of all members
RPCManager::RemoteRequestHandler Class Referenceabstract

Handler that must be implemented by the remote module to send RPC requests to a remote server. More...

#include <rpc/RPCManager.h>

Inheritance diagram for RPCManager::RemoteRequestHandler:
Inheritance graph
[legend]

Public Member Functions

virtual ~RemoteRequestHandler ()
 
virtual void onRPCrequested (Buffer< uint8 > &&request)=0
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~RemoteRequestHandler()

virtual ~RemoteRequestHandler ( )
inlinevirtual

Member Function Documentation

◆ onRPCrequested()

virtual void onRPCrequested ( Buffer< uint8 > &&  request)
pure virtual

The documentation for this class was generated from the following file: