Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
Repo socketio/socket.io-client-java, read from GitHub 30 min ago. socketio has not joined Take My Repo.
From the "1.x" branch.
engine.io-client)engine.io-client version: 1.0.2 (diff)engine.io-client)This feature allows to send a packet and expect an acknowledgement from the server within the given delay.
Syntax:
socket.emit("hello", "world", new AckWithTimeout(5000) { @Override public void onTimeout() { // ... } @Override public void onSuccess(Object... args) { // ... } });
Syntax:
socket.onAnyIncoming(new Emitter.Listener() { @Override public void call(Object... args) { // ... } }); socket.onAnyOutgoing(new Emitter.Listener() { @Override public void call(Object... args) { // ... } });
engine.io-client version: 2.1.0 (diff)engine.io-client version: 2.0.0This release is compatible with Socket.IO v3: https://socket.io/blog/socket-io-3-release/
Migration guide: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html
engine.io-client version: 2.0.0 (diff)