Uses of Interface
org.xsocket.connection.INonBlockingConnection

Packages that use INonBlockingConnection
org.xsocket.connection Provides classes to handle a connection-oriented, sequenced flow of data in a blocking or non-blocking mode on the server and on the client side. 
 

Uses of INonBlockingConnection in org.xsocket.connection
 

Classes in org.xsocket.connection that implement INonBlockingConnection
 class NonBlockingConnection
          Implementation of the INonBlockingConnection interface.
 

Methods in org.xsocket.connection that return INonBlockingConnection
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, boolean waitForConnect, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis)
          get a pool connection for the given address in an asynchronous wa.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, Executor workerPool, boolean waitForConnect, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, Executor workerPool, int connectTimeoutMillis)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, Executor workerPool, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, int connectTimeoutMillis)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetAddress address, int port, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(InetSocketAddress address)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port, IHandler appHandler)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port, IHandler appHandler, boolean isSSL)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port, int connectTimeoutMillis)
          get a pool connection for the given address.
 INonBlockingConnection NonBlockingConnectionPool.getNonBlockingConnection(String host, int port, int connectTimeoutMillis, boolean isSSL)
          get a pool connection for the given address.
static INonBlockingConnection ConnectionUtils.synchronizedConnection(INonBlockingConnection con)
          Returns a synchronized (thread-safe) connection backed by the specified connection.
 

Methods in org.xsocket.connection that return types with arguments of type INonBlockingConnection
 Set<INonBlockingConnection> Server.getOpenConnections()
           
 

Methods in org.xsocket.connection with parameters of type INonBlockingConnection
static void NonBlockingConnectionPool.destroy(INonBlockingConnection connection)
          
 boolean IConnectHandler.onConnect(INonBlockingConnection connection)
          handles a new incoming connection
 boolean HandlerChain.onConnect(INonBlockingConnection connection)
          handles a new incoming connection
 boolean IConnectExceptionHandler.onConnectException(INonBlockingConnection connection, IOException ioe)
          handle a connect exception
 boolean IConnectionTimeoutHandler.onConnectionTimeout(INonBlockingConnection connection)
          handles the connection timeout.
 boolean HandlerChain.onConnectionTimeout(INonBlockingConnection connection)
          handles the connection timeout.
 boolean IDataHandler.onData(INonBlockingConnection connection)
          processes the incoming data based on the given connection.
 boolean HandlerChain.onData(INonBlockingConnection connection)
          processes the incoming data based on the given connection.
 boolean IDisconnectHandler.onDisconnect(INonBlockingConnection connection)
          handles disconnecting of a connection
 boolean HandlerChain.onDisconnect(INonBlockingConnection connection)
          handles disconnecting of a connection
 boolean IIdleTimeoutHandler.onIdleTimeout(INonBlockingConnection connection)
          handles the idle timeout.
 boolean HandlerChain.onIdleTimeout(INonBlockingConnection connection)
          handles the idle timeout.
static INonBlockingConnection ConnectionUtils.synchronizedConnection(INonBlockingConnection con)
          Returns a synchronized (thread-safe) connection backed by the specified connection.
static int ConnectionUtils.validateSufficientDatasizeByIntLengthField(INonBlockingConnection connection)
          validate, based on a leading int length field.
static int ConnectionUtils.validateSufficientDatasizeByIntLengthField(INonBlockingConnection connection, boolean removeLengthField)
          validate, based on a leading int length field, that enough data (getNumberOfAvailableBytes() >= length) is available.
 

Constructors in org.xsocket.connection with parameters of type INonBlockingConnection
BlockingConnection(INonBlockingConnection delegate)
          Constructor.
 



Copyright 2010 xSocket.org