0cbf01eb2501b3098eacd22594966a719b20c31e
Using a randomizationFactor value above 1 could lead to generating a negative duration, then throwing: > java.lang.IllegalArgumentException: delay < 0: -1012 > at java.util.Timer.schedule(Timer.java:454) > at io.socket.client.Manager.reconnect(Manager.java:544) This error does not seem related to a long overflow (in the BigInteger.longValue() operation), because the BigInteger.min(this.max) operation before should prevent it. Related: https://github.com/socketio/socket.io-client-java/issues/349
Socket.IO-client Java
This is the Socket.IO Client Library for Java, which is simply ported from the JavaScript client.
See also:
Table of content
Compatibility
| Client version | Socket.IO server |
|---|---|
| 0.9.x | 1.x |
| 1.x | 2.x |
| 2.x | 3.x / 4.x |
Documentation
The documentation can be found here.
The source of this documentation is in the src/site/ directory of the repository. Pull requests are welcome!
License
MIT
Languages
Java
97.8%
JavaScript
2%
Makefile
0.2%