MIRA
Public Member Functions | Protected Attributes | List of all members
RemoteConnection::RPCRemoteFinishHandler Class Reference

RPCHandler for getting notified when an rpc call on server side is finished and the response is ready. More...

#include <fw/RemoteConnection.h>

Inheritance diagram for RemoteConnection::RPCRemoteFinishHandler:
Inheritance graph
[legend]

Public Member Functions

 RPCRemoteFinishHandler (RemoteConnection *iConnection)
 Constructor taking the connection pointer. More...
 
virtual void onRPCfinished (Buffer< uint8 > &&answer)
 Implementation of RPCManager::RemoteFinishHandler Will send answer back to calling framework using the internal connection pointer (if set) More...
 
void setConnection (RemoteConnection *iConnection)
 Set the connection pointer. Used to reset the connection on disconnect. More...
 

Protected Attributes

boost::mutex mConnectionMutex
 
RemoteConnectionmConnection
 

Detailed Description

RPCHandler for getting notified when an rpc call on server side is finished and the response is ready.

Will send the response back to the calling framework using the connection pointer.

Constructor & Destructor Documentation

◆ RPCRemoteFinishHandler()

RPCRemoteFinishHandler ( RemoteConnection iConnection)
inline

Constructor taking the connection pointer.

Member Function Documentation

◆ onRPCfinished()

virtual void onRPCfinished ( Buffer< uint8 > &&  answer)
virtual

Implementation of RPCManager::RemoteFinishHandler Will send answer back to calling framework using the internal connection pointer (if set)

Implements RPCManager::RemoteFinishHandler.

◆ setConnection()

void setConnection ( RemoteConnection iConnection)

Set the connection pointer. Used to reset the connection on disconnect.

Member Data Documentation

◆ mConnectionMutex

boost::mutex mConnectionMutex
protected

◆ mConnection

RemoteConnection* mConnection
protected

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