| 137 | } |
| 138 | |
| 139 | bool AFCTCPClient::SendMsg(const char* msg, const size_t msg_len, const AFGUID& session_id /* = 0*/) |
| 140 | { |
| 141 | if (nullptr != client_session_ptr_ && client_session_ptr_->GetSession()) |
| 142 | { |
| 143 | client_session_ptr_->GetSession()->send(msg, msg_len); |
| 144 | } |
| 145 | |
| 146 | return true; |
| 147 | } |
| 148 | |
| 149 | bool AFCTCPClient::CloseSession(const AFGUID& session_id) |
| 150 | { |
nothing calls this directly
no test coverage detected