11 #ifndef _EMBEDDED_RPC__SERVER_H_ 12 #define _EMBEDDED_RPC__SERVER_H_ 15 #include "erpc_config_internal.h" 118 void addService(
Service *service);
125 void removeService(
Service *service);
135 virtual void stop(
void) = 0;
166 uint32_t &methodId, uint32_t &sequence);
175 virtual Service *findServiceWithId(uint32_t serviceId);
177 #if ERPC_NESTED_CALLS 199 #endif // _EMBEDDED_RPC__SERVER_H_ Abstract interface for transport layer.
Definition: erpc_transport.hpp:36
Service(uint32_t serviceId)
Constructor.
Definition: erpc_server.hpp:47
message_type_t
Types of messages that can be encoded.
Definition: erpc_codec.hpp:35
enum _erpc_status erpc_status_t
Type used for all status and error return values.
Definition: erpc_common.h:85
Base client implementation.
Definition: erpc_client_manager.h:56
Abstract interface for service, which can be executed on server side.
Definition: erpc_server.hpp:39
uint32_t m_serviceId
Definition: erpc_server.hpp:89
Abstract serialization encoder/decoder interface.
Definition: erpc_codec.hpp:53
virtual ~Service(void)
Service destructor.
Definition: erpc_server.hpp:52
Service * m_next
Definition: erpc_server.hpp:90
Server(void)
Constructor.
Definition: erpc_server.hpp:106
Common class inherited by client and server class.
Definition: erpc_client_server_common.hpp:39
virtual ~Server(void)
Server destructor.
Definition: erpc_server.hpp:111
Service * getNext(void)
Return next service.
Definition: erpc_server.hpp:66
Client that can share a transport with a server.
Definition: erpc_arbitrated_client_manager.hpp:40
Based server functionality.
Definition: erpc_server.hpp:98
Definition: erpc_arbitrated_client_manager.hpp:25
uint32_t getServiceId(void) const
Return service id number.
Definition: erpc_server.hpp:59
virtual erpc_status_t handleInvocation(uint32_t methodId, uint32_t sequence, Codec *codec, MessageBufferFactory *messageFactory, Transport *transport)=0
This function call function implementation of current service.
void setNext(Service *next)
Set next service.
Definition: erpc_server.hpp:73
Abstract interface for message buffer factory.
Definition: erpc_message_buffer.hpp:344
Service * m_firstService
Definition: erpc_server.hpp:138
Encapsulates all information about a request.
Definition: erpc_client_manager.h:184