MCPcopy Index your code
hub / github.com/socketio/socket.io-client-java / onopen

Method onopen

src/main/java/io/socket/client/Socket.java:268–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 private void onopen() {
269 logger.fine("transport is open - connecting");
270
271 if (this.auth != null) {
272 this.packet(new Packet<>(Parser.CONNECT, new JSONObject(this.auth)));
273 } else {
274 this.packet(new Packet<>(Parser.CONNECT));
275 }
276 }
277
278 private void onclose(String reason) {
279 if (logger.isLoggable(Level.FINE)) {

Callers 2

callMethod · 0.45
runMethod · 0.45

Calls 1

packetMethod · 0.95

Tested by

no test coverage detected