22 #ifndef HDLCD_SERVER_HANDLER_COLLECTION_H 23 #define HDLCD_SERVER_HANDLER_COLLECTION_H 27 #include <boost/asio.hpp> 34 HdlcdServerHandlerCollection(boost::asio::io_service& a_IOService, std::shared_ptr<SerialPortHandlerCollection> a_SerialPortHandlerCollection, uint16_t a_TcpPortNbr);
46 boost::asio::io_service& m_IOService;
47 std::shared_ptr<SerialPortHandlerCollection> m_SerialPortHandlerCollection;
48 std::list<std::shared_ptr<HdlcdServerHandler>> m_HdlcdServerHandlerList;
51 boost::asio::ip::tcp::tcp::acceptor m_TcpAcceptor;
52 boost::asio::ip::tcp::tcp::socket m_TcpSocket;
55 #endif // HDLCD_SERVER_HANDLER_COLLECTION_H HdlcdServerHandlerCollection(boost::asio::io_service &a_IOService, std::shared_ptr< SerialPortHandlerCollection > a_SerialPortHandlerCollection, uint16_t a_TcpPortNbr)
void RegisterHdlcdServerHandler(std::shared_ptr< HdlcdServerHandler > a_HdlcdServerHandler)
void DeregisterHdlcdServerHandler(std::shared_ptr< HdlcdServerHandler > a_HdlcdServerHandler)