REC RPC library
Public Member Functions | List of all members
rec::rpc::CustomRequestHandlerBase Struct Referenceabstract

Custom request handler interface. More...

#include <rec_rpc_Server.h>

Public Member Functions

virtual void invoke (const QByteArray &request, QByteArray &response, const rec::rpc::ClientInfo &client)=0
 

Detailed Description

Custom request handler interface.

The interface that a custom request handler must implement. It is recommended to use the preprocessor macros to do this.

See also
DECLARE_CUSTOM_REQUEST_HANDLER, BEGIN_CUSTOM_REQUEST_HANDLER_DEFINITION, END_CUSTOM_REQUEST_HANDLER_DEFINITION

Definition at line 98 of file rec_rpc_Server.h.

Member Function Documentation

virtual void rec::rpc::CustomRequestHandlerBase::invoke ( const QByteArray &  request,
QByteArray &  response,
const rec::rpc::ClientInfo client 
)
pure virtual

This method is called by the server to invoke the custom request handler.

Parameters
requestrequest received from the client ("raw").
responseresponse sent to the client ("raw").
clientInfo about the calling client.

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