24 #ifndef HDLCD_CLIENT_HANDLER_COLLECTION_H 25 #define HDLCD_CLIENT_HANDLER_COLLECTION_H 31 #include <boost/asio.hpp> 41 void Initialize(std::shared_ptr<ConfigServerHandlerCollection> a_ConfigServerHandlerCollection,
42 std::shared_ptr<GatewayClientHandlerCollection> a_GatewayClientHandlerCollection);
47 void CreateHdlcdClient (
const std::string &a_RemoteAddress, uint16_t a_TcpPortNbr, uint16_t a_SerialPortNbr);
53 void SendPacket(uint16_t a_SerialPortNbr,
const std::vector<unsigned char> &a_Payload);
57 boost::asio::io_service& m_IOService;
58 std::shared_ptr<ConfigServerHandlerCollection> m_ConfigServerHandlerCollection;
59 std::shared_ptr<GatewayClientHandlerCollection> m_GatewayClientHandlerCollection;
62 std::map<uint16_t, std::shared_ptr<HdlcdClientHandler>> m_HdlcdClientHandlerMap;
65 #endif // HDLCD_CLIENT_HANDLER_COLLECTION_H
void Initialize(std::shared_ptr< ConfigServerHandlerCollection > a_ConfigServerHandlerCollection, std::shared_ptr< GatewayClientHandlerCollection > a_GatewayClientHandlerCollection)
void ResumeHdlcdClient(uint16_t a_SerialPortNbr)
void DestroyHdlcdClient(uint16_t a_SerialPortNbr)
void CreateHdlcdClient(const std::string &a_RemoteAddress, uint16_t a_TcpPortNbr, uint16_t a_SerialPortNbr)
void SuspendHdlcdClient(uint16_t a_SerialPortNbr)
HdlcdClientHandlerCollection(boost::asio::io_service &a_IOService)
void SendPacket(uint16_t a_SerialPortNbr, const std::vector< unsigned char > &a_Payload)
Copyright (c) 2016, Florian Evers, florian-evers@gmx.de All rights reserved.