MCPcopy Index your code
hub / github.com/ccxt/ccxt / reset

Method reset

java/lib/src/main/java/io/github/ccxt/ws/WsClient.java:239–242  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 6

pongMethod · 0.45
pongMethod · 0.45
pongMethod · 0.45
pongMethod · 0.45
handleWsErrorMethod · 0.45
pongMethod · 0.45

Calls 2

rejectMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected