Typedef eCAL::ServiceMethodCallbackT

Typedef Documentation

using eCAL::ServiceMethodCallbackT = std::function<int(const SServiceMethodInformation &method_info_, const std::string &request_, std::string &response_)>

Service method callback function type (low level server interface). This is the type definition of a function that can be registered for a CServiceServer. It callback is then called, a client.

Param method_info:

The method information struct containing the request and response type information.

Param request_:

The request.

Param response_:

The response returned from the method call.