| 210 | } |
| 211 | |
| 212 | void ServerConnection::onDisconnection(){ |
| 213 | _sendingRefs.clear(); |
| 214 | _receivingRefs.clear(); |
| 215 | if(_connected) |
| 216 | _connected=false; |
| 217 | MapParameters::clear(); |
| 218 | OnDisconnection::raise(_ex,*this); // in last because can delete this |
| 219 | } |
| 220 | |
| 221 | bool ServerConnection::protocolAddress(Exception& ex, const string& protocol,SocketAddress& socketAddress) { |
| 222 | string buffer; |