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

Handler that must be implemented by the remote module to send RPC responses to a remote server which sent a previous RPC request. More...

#include <rpc/RPCManager.h>

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

Public Member Functions

virtual ~RemoteFinishHandler ()
 
virtual void onRPCfinished (Buffer< uint8 > &&response)=0
 

Detailed Description

Handler that must be implemented by the remote module to send RPC responses to a remote server which sent a previous RPC request.

The handler is specified in the handleRemoteRequest(), where the request of an remote RPCManager is invoked. (the request which was sent by the remote RPCManager using the above RemoteRequestHandler on the "other side"). The handler is called when the RPC request finishes that was invoked by the corresponding call of handleRemoteRequest(). The handler must ship the response to the remote server side. There the handleRemoteResponse() method of the remote RPCManager will be called.

Constructor & Destructor Documentation

◆ ~RemoteFinishHandler()

virtual ~RemoteFinishHandler ( )
inlinevirtual

Member Function Documentation

◆ onRPCfinished()

virtual void onRPCfinished ( Buffer< uint8 > &&  response)
pure virtual

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