Zserio C++ runtime library
1.1.0
Built for Zserio 2.15.0
|
#include <IService.h>
Public Member Functions | |
virtual | ~IBasicService ()=default |
virtual IBasicServiceDataPtr< ALLOC > | callMethod (StringView methodName, Span< const uint8_t > requestData, void *context)=0 |
Generic interface for all Zserio services to be used on the server side.
Definition at line 203 of file IService.h.
|
virtualdefault |
|
pure virtual |
Calls method with the given name synchronously.
methodName | Name of the service method to call. |
requestData | Request data to be passed to the method. |
context | Context specific for particular service or nullptr in case of no context. |
ServiceException | if the call fails. |