eRPC API Reference
Rev. 1.12.0
NXP Semiconductors
|
Common class inherited by client and server class. More...
#include <erpc_client_server_common.hpp>
Public Member Functions | |
ClientServerCommon (void) | |
ClientServerCommon constructor. | |
~ClientServerCommon (void) | |
ClientServerCommon destructor. | |
void | setMessageBufferFactory (MessageBufferFactory *factory) |
This function sets message buffer factory to use. More... | |
void | setCodecFactory (CodecFactory *factory) |
This function sets codec factory to use. More... | |
CodecFactory * | getCodecFactory (void) |
This function sets codec factory to use. More... | |
void | setTransport (Transport *transport) |
This function sets transport layer to use. More... | |
Transport * | getTransport (void) |
This function gets transport instance. More... | |
Protected Attributes | |
MessageBufferFactory * | m_messageFactory |
Message buffer factory to use. | |
CodecFactory * | m_codecFactory |
Codec to use. | |
Transport * | m_transport |
Transport layer to use. | |
Common class inherited by client and server class.
|
inline |
This function sets message buffer factory to use.
[in] | factory | Message buffer factory to use. |
|
inline |
This function sets codec factory to use.
[in] | factory | Codec factory to use. |
|
inline |
This function sets codec factory to use.
|
inline |
This function sets transport layer to use.
It also set messageBufferFactory to the same as in transport layer.
[in] | transport | Transport layer to use. |
|
inline |
This function gets transport instance.