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

Method onClose

java/lib/src/main/java/io/github/ccxt/ws/WsClient.java:427–437  ·  view source on GitHub ↗
(Object reason)

Source from the content-addressed store, hash-verified

425 }
426
427 void onClose(Object reason) {
428 if (this.verbose) {
429 System.out.println(getFormattedDate() + "WsClient closed: " + this.url + " reason: " + reason);
430 }
431 this.isConnected = false;
432 this.startedConnecting.set(false);
433 this.error = false;
434 if (this.onCloseCallback != null) {
435 this.onCloseCallback.accept(this, reason);
436 }
437 }
438
439 void onError(Object err) {
440 if (this.verbose) {

Callers 2

channelInactiveMethod · 0.45
channelRead0Method · 0.45

Calls 2

getFormattedDateMethod · 0.95
setMethod · 0.80

Tested by

no test coverage detected