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

Method run

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

Source from the content-addressed store, hash-verified

118 public Socket open() {
119 EventThread.exec(new Runnable() {
120 @Override
121 public void run() {
122 if (Socket.this.connected || Socket.this.io.isReconnecting()) return;
123
124 Socket.this.subEvents();
125 Socket.this.io.open(); // ensure open
126 if (Manager.ReadyState.OPEN == Socket.this.io.readyState) Socket.this.onopen();
127 }
128 });
129 return this;
130 }

Callers

nothing calls this directly

Calls 11

emitMethod · 0.95
scheduleMethod · 0.95
isReconnectingMethod · 0.80
subEventsMethod · 0.80
addMethod · 0.65
destroyMethod · 0.65
openMethod · 0.45
onopenMethod · 0.45
onTimeoutMethod · 0.45
packetMethod · 0.45
oncloseMethod · 0.45

Tested by

no test coverage detected