Adapter interface, which is implemented by xSocket extension such as http or multiplexed.
By implementing this interface the adapted handler will be exported by JMX instead of the adapter.
A server accepts new incoming connections, and delegates the handling of the
INonBlockingConnection to the assigned handler.
The server includes dispatchers, which are responsible to perform the
socket I/O operations.
// create a unbound connection pool
NonBlockingConnectionPool pool = new NonBlockingConnectionPool();
INonBlockingCinnection con = null;
try {
// retrieve a connection (if no connection is in pool, a new one will be created)
con = pool.getNonBlockingConnection(host, port);
con.write("Hello");
...