| 49 | } |
| 50 | |
| 51 | void onStringMessage(const TcpConnectionPtr&, |
| 52 | const string& message, |
| 53 | Timestamp) |
| 54 | { |
| 55 | for (ConnectionList::iterator it = connections_.begin(); |
| 56 | it != connections_.end(); |
| 57 | ++it) |
| 58 | { |
| 59 | codec_.send(get_pointer(*it), message); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | typedef std::set<TcpConnectionPtr> ConnectionList; |
| 64 | TcpServer server_; |
nothing calls this directly
no test coverage detected