must be called only from asio thread
| 951 | |
| 952 | //must be called only from asio thread |
| 953 | void OnErrorCode(TErrorCode ec) { |
| 954 | OnError(ec.Text(), ec.Value()); |
| 955 | } |
| 956 | |
| 957 | //must be called only from asio thread |
| 958 | void OnErrorCallback(TString err) { |