Uses of Interface
org.xsocket.connection.IHandler

Packages that use IHandler
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 IHandler in org.xsocket.connection
 

Subinterfaces of IHandler in org.xsocket.connection
 interface IConnectExceptionHandler
          Handles connect exception.
 interface IConnectHandler
          Handles new incoming connections.
 interface IConnectionTimeoutHandler
          Handles connection timeout.
 interface IDataHandler
          Reads and processes the incoming data.
 interface IDisconnectHandler
          Handles the disconnecting of connections.
 interface IIdleTimeoutHandler
          Handles idle timeout.
 

Classes in org.xsocket.connection that implement IHandler
 class HandlerChain
          Implements a handler chain.
 

Methods in org.xsocket.connection that return IHandler
 IHandler Server.getHandler()
           
 IHandler NonBlockingConnection.getHandler()
          gets the connection handler
 IHandler IServer.getHandler()
          gets the handler
 IHandler INonBlockingConnection.getHandler()
          gets the connection handler
 

Methods in org.xsocket.connection with parameters of type IHandler
 void HandlerChain.addLast(IHandler handler)
          add a handler to the end og the chain
 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(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.
 void IHandlerChangeListener.onHanderReplaced(IHandler oldHandler, IHandler newHandler)
           
 void Server.setHandler(IHandler handler)
          set the handler
 void NonBlockingConnection.setHandler(IHandler hdl)
          set the connection handler.
 void INonBlockingConnection.setHandler(IHandler handler)
          set the connection handler.
 

Constructors in org.xsocket.connection with parameters of type IHandler
NonBlockingConnection(InetAddress address, int port, IHandler appHandler)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean autoflush, IConnection.FlushMode flushmode)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean autoflush, IConnection.FlushMode flushmode, Object attachment)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, Executor workerPool)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, Map<String,Object> options)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, SSLContext sslContext, boolean sslOn)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, SSLContext sslContext, boolean sslOn, Executor workerPool)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, Executor workerPool)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis, Executor workerPool)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis, Map<String,Object> options)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis, SSLContext sslContext, boolean sslOn)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, int connectTimeoutMillis, SSLContext sslContext, boolean sslOn, Executor workerPool)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, Map<String,Object> options)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, Object attachment)
          constructor.
NonBlockingConnection(InetAddress address, int port, IHandler appHandler, SSLContext sslContext, boolean sslOn)
          constructor.
NonBlockingConnection(InetSocketAddress remoteAddress, InetSocketAddress localAddress, IHandler appHandler, boolean waitForConnect, int connectTimeoutMillis, Map<String,Object> options, SSLContext sslContext, boolean sslOn)
          constructor.
NonBlockingConnection(String hostname, int port, IHandler appHandler)
          constructor

constructor.
NonBlockingConnection(String hostname, int port, IHandler appHandler, Executor workerPool)
          constructor

constructor.
NonBlockingConnection(String hostname, int port, IHandler appHandler, Map<String,Object> options)
          constructor

constructor.
Server(IHandler handler)
          constructor

Server(InetAddress address, int port, IHandler handler)
          constructor

Server(InetAddress address, int port, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

Server(InetAddress address, int port, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

Server(InetAddress address, int port, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn, int backlog)
          constructor

Server(InetAddress address, int port, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn, int backlog, int minPoolsize, int maxPoolsize)
          constructor

Server(InetSocketAddress address, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn, int backlog)
          constructor
Server(InetSocketAddress address, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn, int backlog, int minPoolsize, int maxPoolsize)
          constructor
Server(InetSocketAddress address, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn, int backlog, int minPoolsize, int maxPoolsize, int taskqueueSize)
          constructor
Server(int port, IHandler handler)
          constructor

Server(int port, IHandler handler, int backlog)
          constructor

Server(int port, IHandler handler, int minPoolsize, int maxPoolsize)
          constructor

Server(int port, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

Server(int port, IHandler handler, SSLContext sslContext, boolean sslOn, int minPoolsize, int maxPoolsize)
          constructor

Server(int port, Map<String,Object> options, IHandler handler)
          constructor

Server(int port, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

Server(Map<String,Object> options, IHandler handler)
          constructor

Server(String ipAddress, int port, IHandler handler)
          constructor

Server(String ipAddress, int port, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

Server(String ipAddress, int port, Map<String,Object> options, IHandler handler)
          constructor

Server(String ipAddress, int port, Map<String,Object> options, IHandler handler, SSLContext sslContext, boolean sslOn)
          constructor

 

Constructor parameters in org.xsocket.connection with type arguments of type IHandler
HandlerChain(List<IHandler> handlers)
          constructor
 



Copyright 2010 xSocket.org