A barebones WebSocket client and server implementation
This repository contains a barebones WebSocket server and client implementation written in 100% Java. The underlying classes are implemented java.nio, which allows for a non-blocking event-driven model (similar to the WebSocket API for web browsers). The org.java_websocket.server.WebSocketServer abstract class implements the server-side of the WebSocket Protocol. A WebSocket server by itself doesn't do anything except establish socket connections though HTTP. After that it's up to your...
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.