24 #ifndef GATEWAY_CLIENT_HANDLER_COLLECTION_H 25 #define GATEWAY_CLIENT_HANDLER_COLLECTION_H 28 #include <boost/asio.hpp> 38 void Initialize(std::shared_ptr<ConfigServerHandlerCollection> a_ConfigServerHandlerCollection,
39 std::shared_ptr<HdlcdClientHandlerCollection> a_HdlcdClientHandlerCollection);
44 void CreateClient (uint16_t a_ReferenceNbr, std::string a_RemoteAddress, uint16_t a_RemotePortNbr);
48 void SendPacket(uint16_t a_SerialPortNbr,
const std::vector<unsigned char> &a_Buffer);
52 boost::asio::io_service& m_IOService;
53 std::shared_ptr<ConfigServerHandlerCollection> m_ConfigServerHandlerCollection;
54 std::shared_ptr<HdlcdClientHandlerCollection> m_HdlcdClientHandlerCollection;
57 std::shared_ptr<GatewayClientHandler> m_GatewayClientHandler;
60 #endif // GATEWAY_CLIENT_HANDLER_COLLECTION_H
void CreateClient(uint16_t a_ReferenceNbr, std::string a_RemoteAddress, uint16_t a_RemotePortNbr)
void SendPacket(uint16_t a_SerialPortNbr, const std::vector< unsigned char > &a_Buffer)
void Initialize(std::shared_ptr< ConfigServerHandlerCollection > a_ConfigServerHandlerCollection, std::shared_ptr< HdlcdClientHandlerCollection > a_HdlcdClientHandlerCollection)
void DestroyClient(uint16_t a_ReferenceNbr)
GatewayClientHandlerCollection(boost::asio::io_service &a_IOService)