| 42 | |
| 43 | private: |
| 44 | void onConnection(const TcpConnectionPtr& conn) |
| 45 | { |
| 46 | LOG_INFO << conn->peerAddress().toIpPort() << " -> " |
| 47 | << conn->localAddress().toIpPort() << " is " |
| 48 | << (conn->connected() ? "UP" : "DOWN"); |
| 49 | } |
| 50 | |
| 51 | void onUnknownMessage(const TcpConnectionPtr& conn, |
| 52 | const MessagePtr& message, |