#include <json_rpc.h>
Inherits jsonrpc::AbstractServerConnector.
Inherited by rpc::jsonrpc_object_server< ServerStub, Connector > [protected].
Connector that sends responses via IResponse
◆ OnRequest()
| bool rpc::cServerConnector::OnRequest |
( |
const std::string & | request, |
|
|
IResponse * | response ) |
Called on request
- Parameters
-
| [in] | request | The request string |
| [out] | response | The response which gets set |
- Return values
-
◆ SendResponse()
| bool rpc::cServerConnector::SendResponse |
( |
const std::string & | response, |
|
|
void * | addInfo ) |
Sets the response to addInfo which must be of type IResponse
- Parameters
-
| [in] | response | The response message |
| [out] | addInfo | Pointer to object of type IResponse the response gets set to |
- Return values
-
◆ StartListening()
| bool rpc::cServerConnector::StartListening |
( |
| ) |
|
Currently not implemented, returns always true
- Return values
-
◆ StopListening()
| bool rpc::cServerConnector::StopListening |
( |
| ) |
|
Currently not implemented, returns always true
- Return values
-
The documentation for this class was generated from the following file: