Minimal interface for selectable channel
Base trait for Socket input channels.
This class encapsulates a selector thread that dispatches tasks on sockets in a non-blocking manner.
This class encapsulates a selector thread that dispatches tasks on sockets in a non-blocking manner. The number of connection that can be handled by a selector is limited to FD_SETSIZE, which is OS specific. See http://www.kegel.com/c10k.html#nb.select.
See also how to change registry settings on windows here: http://www.gridgainsystems.com/wiki/display/GG15UG/Troubleshooting#Troubleshooting-java.net.BindExceptionOnWindows
If you want to handle many connections, either increase the value or
create several NetSystem
s (last solution scales much better in terms
of performance).
Standard network handler process type.
Base trait for Socket output channels.
Base class for Molecule sockets.
Base class for Molecule sockets.
Molecule Sockets consist in an input stream and an output stream of byte buffers. The socket is automatically closed when both streams are poisoned.
Socket configuration class.
Class providing general information about a Molecule socket.
Socket options.
Socket options.
See companion object for available options.
Client channel configuration class.
Server channel configuration class.
Server channel configuration class.
If the address is null, then the system will pick up an ephemeral port and a valid local address to bind the socket.
The backlog argument must be a positive value greater than 0. If the value passed if equal or less than 0, then the default value will be assumed.
Factory for DatagramSockets
Factory for NetSystems
Companion object
Companion object
Provide utility methods to assemble Molecule Sockets.
Factory methods for creating Socket handles.
Factory methods for creating TCP sockets.
Factory methods for TCP server channels
Factory methods for client sockets
Misc UDP related factory methods
Some utilities.
This package permits to create clients and servers for UDP and TCP protocols using streaming I/O channels.