24 #ifndef CONFIG_SERVER_HANDLER_COLLECTION_H 25 #define CONFIG_SERVER_HANDLER_COLLECTION_H 28 #include <boost/asio.hpp> 39 void Initialize(std::shared_ptr<GatewayClientHandlerCollection> a_GatewayClientHandlerCollection,
40 std::shared_ptr<HdlcdClientHandlerCollection> a_HdlcdClientHandlerCollection);
67 boost::asio::io_service& m_IOService;
68 std::shared_ptr<GatewayClientHandlerCollection> m_GatewayClientHandlerCollection;
69 std::shared_ptr<HdlcdClientHandlerCollection> m_HdlcdClientHandlerCollection;
72 std::shared_ptr<ConfigServerHandler> m_ConfigServerHandler;
75 boost::asio::ip::tcp::tcp::acceptor m_TcpAcceptor;
76 boost::asio::ip::tcp::tcp::socket m_TcpSocket;
79 #endif // CONFIG_SERVER_HANDLER_COLLECTION_H void GatewayClientCreated(uint16_t a_ReferenceNbr)
void HdlcdClientConnected(uint16_t a_SerialPortNbr)
void DeregisterConfigServerHandler(std::shared_ptr< ConfigServerHandler > a_ConfigServerHandler)
void HdlcdClientError(uint16_t a_SerialPortNbr, E_HDLCD_CLIENT_ERROR a_ErrorCode)
void GatewayClientConnected(uint16_t a_ReferenceNbr)
void HdlcdClientDisconnected(uint16_t a_SerialPortNbr)
void HdlcdClientDestroyed(uint16_t a_SerialPortNbr)
ConfigServerHandlerCollection(boost::asio::io_service &a_IOService, uint16_t a_TcpPortNbr)
void HdlcdClientCreated(uint16_t a_SerialPortNbr)
void RegisterConfigServerHandler(std::shared_ptr< ConfigServerHandler > a_ConfigServerHandler)
void GatewayClientDestroyed(uint16_t a_ReferenceNbr)
void GatewayClientError(uint16_t a_ReferenceNbr, E_GATEWAY_CLIENT_ERROR a_ErrorCode)
void HdlcdClientNewStatus(uint16_t a_SerialPortNbr, bool a_bIsResumed, bool a_bIsAlive)
void Initialize(std::shared_ptr< GatewayClientHandlerCollection > a_GatewayClientHandlerCollection, std::shared_ptr< HdlcdClientHandlerCollection > a_HdlcdClientHandlerCollection)
void GatewayClientDisconnected(uint16_t a_ReferenceNbr)