24 #ifndef CONFIG_SERVER_HANDLER_H 25 #define CONFIG_SERVER_HANDLER_H 28 #include <boost/asio.hpp> 40 ConfigServerHandler(boost::asio::io_service& a_IOService, boost::asio::ip::tcp::tcp::socket& a_TcpSocket, std::shared_ptr<GatewayClientHandlerCollection> a_GatewayClientHandlerCollection,
41 std::shared_ptr<HdlcdClientHandlerCollection> a_HdlcdClientHandlerCollection);
42 void Start(std::shared_ptr<ConfigServerHandlerCollection> a_ConfigServerHandlerCollection);
62 boost::asio::io_service& m_IOService;
63 std::shared_ptr<GatewayClientHandlerCollection> m_GatewayClientHandlerCollection;
64 std::shared_ptr<HdlcdClientHandlerCollection> m_HdlcdClientHandlerCollection;
65 std::shared_ptr<ConfigServerHandlerCollection> m_ConfigServerHandlerCollection;
68 std::shared_ptr<ConfigServer> m_ConfigServer;
72 #endif // CONFIG_SERVER_HANDLER_H void GatewayClientDisconnected(uint16_t a_ReferenceNbr)
void GatewayClientError(uint16_t a_ReferenceNbr, E_GATEWAY_CLIENT_ERROR a_ErrorCode)
void HdlcdClientError(uint16_t a_SerialPortNbr, E_HDLCD_CLIENT_ERROR a_ErrorCode)
void GatewayClientCreated(uint16_t a_ReferenceNbr)
void HdlcdClientCreated(uint16_t a_SerialPortNbr)
void HdlcdClientDisconnected(uint16_t a_SerialPortNbr)
void GatewayClientDestroyed(uint16_t a_ReferenceNbr)
void HdlcdClientConnected(uint16_t a_SerialPortNbr)
void GatewayClientConnected(uint16_t a_ReferenceNbr)
void HdlcdClientDestroyed(uint16_t a_SerialPortNbr)
void Start(std::shared_ptr< ConfigServerHandlerCollection > a_ConfigServerHandlerCollection)
void HdlcdClientNewStatus(uint16_t a_SerialPortNbr, bool a_bIsResumed, bool a_bIsAlive)
ConfigServerHandler(boost::asio::io_service &a_IOService, boost::asio::ip::tcp::tcp::socket &a_TcpSocket, std::shared_ptr< GatewayClientHandlerCollection > a_GatewayClientHandlerCollection, std::shared_ptr< HdlcdClientHandlerCollection > a_HdlcdClientHandlerCollection)