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

RPCHandler for sending a rpc call to the server side. More...

#include <fw/RemoteConnection.h>

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

Public Member Functions

 RPCRemoteRequestHandler (RemoteConnection *iConnection)
 Constructor taking the connection pointer. More...
 
virtual void onRPCrequested (Buffer< uint8 > &&request)
 Implementation of RPCManager::RemoteRequestHandler Will send request to the framework that will process the call 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 sending a rpc call to the server side.

Will send the request to the framework that will process the rpc call using the connection pointer.

Constructor & Destructor Documentation

◆ RPCRemoteRequestHandler()

RPCRemoteRequestHandler ( RemoteConnection iConnection)
inline

Constructor taking the connection pointer.

Member Function Documentation

◆ onRPCrequested()

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

Implementation of RPCManager::RemoteRequestHandler Will send request to the framework that will process the call using the internal connection pointer (if set)

Implements RPCManager::RemoteRequestHandler.

◆ 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: