diff options
Diffstat (limited to 'src/rpc-server/include/trex_rpc_req_resp.h')
-rw-r--r-- | src/rpc-server/include/trex_rpc_req_resp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rpc-server/include/trex_rpc_req_resp.h b/src/rpc-server/include/trex_rpc_req_resp.h index 511afc02..f12d0540 100644 --- a/src/rpc-server/include/trex_rpc_req_resp.h +++ b/src/rpc-server/include/trex_rpc_req_resp.h @@ -32,7 +32,7 @@ limitations under the License. class TrexRpcServerReqRes : public TrexRpcServerInterface { public: - TrexRpcServerReqRes(TrexRpcServerArray::protocol_type_e protocol, uint16_t port); + TrexRpcServerReqRes(const TrexRpcServerConfig &cfg); protected: void _rpc_thread_cb(); @@ -41,10 +41,10 @@ protected: private: void handle_request(const std::string &request); - static const int RPC_MAX_MSG_SIZE = 2048; - void *m_context; - void *m_socket; - uint8_t m_msg_buffer[RPC_MAX_MSG_SIZE]; + static const int RPC_MAX_MSG_SIZE = 2048; + void *m_context; + void *m_socket; + uint8_t m_msg_buffer[RPC_MAX_MSG_SIZE]; }; |