MCPcopy
hub / github.com/socketio/socket.io-client-java / cleanup

Method cleanup

src/main/java/io/socket/client/Manager.java:435–446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

433 }
434
435 private void cleanup() {
436 logger.fine("cleanup");
437
438 On.Handle sub;
439 while ((sub = this.subs.poll()) != null) sub.destroy();
440 this.decoder.onDecoded(null);
441
442 this.packetBuffer.clear();
443 this.encoding = false;
444
445 this.decoder.destroy();
446 }
447
448 /*package*/ void close() {
449 logger.fine("disconnect");

Callers 4

onopenMethod · 0.95
closeMethod · 0.95
oncloseMethod · 0.95
callMethod · 0.80

Calls 2

destroyMethod · 0.65
onDecodedMethod · 0.65

Tested by

no test coverage detected