1#ifndef SOCKET_RPC_SERVER_H
2#define SOCKET_RPC_SERVER_H
4#include <asyncbsdsocket/poller.h>
5#include "../../helper/concurrent_queue.h"
6#include "./rpc_server.h"
20 static const size_t cBufferSize{256};
23 AsyncBsdSocketLib::Poller *
const mPoller;
24 AsyncBsdSocketLib::TcpListener mServer;
39 AsyncBsdSocketLib::Poller *poller,
40 std::string ipAddress,
42 uint8_t protocolVersion,
43 uint8_t interfaceVersion = 1);
Thread-safe wrapper around STL queue using locking mechanism.
Definition: concurrent_queue.h:18
SOME/IP RPC server.
Definition: rpc_server.h:23
TCP socket-based RPC server.
Definition: socket_rpc_server.h:18
SocketRpcServer(AsyncBsdSocketLib::Poller *poller, std::string ipAddress, uint16_t port, uint8_t protocolVersion, uint8_t interfaceVersion=1)
Constructor.
Definition: socket_rpc_server.cpp:14