Reset the client by rejecting all pending futures and closing the connection. Called when an unrecoverable error is detected by exchange-specific WS code.
(Object error)
| 237 | * Called when an unrecoverable error is detected by exchange-specific WS code. |
| 238 | */ |
| 239 | public void reset(Object error) { |
| 240 | this.reject(error); |
| 241 | this.close(); |
| 242 | } |
| 243 | |
| 244 | // ─── Connection management ─── |
| 245 |