This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client. The latest artifact is available on Maven Central. There are several ways to handle events that are transmitted between the server and the client. Add the listener function to the end of the listeners array for the event named eventName. Add a one-time listener function for the event named eventName.
...YourKit is kindly supporting this open source project with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. CentOS, 1 CPU, 4GB RAM runned on VM, CPU 10%, Memory 15%, 6000 xhr-long polling sessions or 15000 websockets sessions, 4000 messages per second.