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

Method send

src/main/java/io/socket/client/Socket.java:145–153  ·  view source on GitHub ↗

Send messages. @param args data to send. @return a reference to this object.

(final Object... args)

Source from the content-addressed store, hash-verified

143 * @return a reference to this object.
144 */
145 public Socket send(final Object... args) {
146 EventThread.exec(new Runnable() {
147 @Override
148 public void run() {
149 Socket.this.emit(EVENT_MESSAGE, args);
150 }
151 });
152 return this;
153 }
154
155 /**
156 * Emits an event. When you pass {@link Ack} at the last argument, then the acknowledge is done.

Callers 2

server.jsFile · 0.80
callMethod · 0.80

Calls 1

execMethod · 0.80

Tested by 1

callMethod · 0.64