21 {
24 }
void onConnection(const Spices::Net::TcpConnectionPtr &connection)
Spices::Net::TcpServer m_Server
void onMessage(const Spices::Net::TcpConnectionPtr &connection, Spices::Net::Buffer *buf)
Wrapper of readwrite buffer.
void AddMessageCallback(const DelegateMessageCallback::Agent &cb)
Add Message Call back.
void AddConnectionCallback(const DelegateConnectionCallback::Agent &cb)
Add Connection Call back.
std::shared_ptr< TcpConnection > TcpConnectionPtr