![]() |
eRPC API Reference
Rev. 1.7.2
NXP Semiconductors
|
Abstract interface for service, which can be executed on server side. More...
#include <erpc_server.h>
Public Member Functions | |
Service (uint32_t serviceId) | |
Constructor. More... | |
virtual | ~Service (void) |
Service destructor. | |
uint32_t | getServiceId (void) const |
Return service id number. More... | |
Service * | getNext (void) |
Return next service. More... | |
void | setNext (Service *next) |
Set next service. More... | |
virtual erpc_status_t | handleInvocation (uint32_t methodId, uint32_t sequence, Codec *codec, MessageBufferFactory *messageFactory)=0 |
This function call function implementation of current service. More... | |
Protected Attributes | |
uint32_t | m_serviceId |
Service * | m_next |
Abstract interface for service, which can be executed on server side.
|
inline |
Constructor.
This function initializes object attributes.
|
inline |
Return service id number.
|
inline |
Return next service.
|
inline |
Set next service.
[in] | next | Pointer to next service. |
|
pure virtual |
This function call function implementation of current service.
[in] | methodId | Id number of function, which is requested. |
[in] | sequence | Sequence number. To be sure that reply from server belongs to client request. |
[in] | codec | For reading and writing data. |
[in] | messageFactory | Used for setting output buffer. |
|
protected |
Service unique id.
|
protected |
Pointer to next service.