21 #ifndef PLUGINS_OPENPIXELCONTROL_OPCSERVER_H_
22 #define PLUGINS_OPENPIXELCONTROL_OPCSERVER_H_
29 #include "ola/io/SelectServerInterface.h"
31 #include "ola/network/TCPSocket.h"
32 #include "ola/network/TCPSocketFactory.h"
33 #include "plugins/openpixelcontrol/OPCConstants.h"
37 namespace openpixelcontrol {
91 uint16_t expected_size;
93 unsigned int buffer_size;
99 data =
new uint8_t[buffer_size];
109 typedef std::map<ola::network::TCPSocket*, RxState*> ClientMap;
115 std::auto_ptr<ola::network::TCPAcceptingSocket> m_listening_socket;
117 std::map<uint8_t, ChannelCallback*> m_callbacks;
128 #endif // PLUGINS_OPENPIXELCONTROL_OPCSERVER_H_