Package org.xsocket.connection

Package class diagram package 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.

See:
          Description

Interface Summary
AbstractNonBlockingStream.ISink  
AbstractNonBlockingStream.ISource  
IBlockingConnection A connection which accesses the underlying channel in a non-blocking manner.
IConnectExceptionHandler Handles connect exception.
IConnectHandler Handles new incoming connections.
IConnection A connection (session) between two endpoints.
IConnectionPool A connection pool manages a pool of open connections.
IConnectionScoped Defines that the IHandler is connection scoped.
IConnectionTimeoutHandler Handles connection timeout.
IDataHandler Reads and processes the incoming data.
IDisconnectHandler Handles the disconnecting of connections.
IHandler A marker interface for a handler

Specific handlers defines on<event> callback methods.
IHandlerChangeListener handler change listener
IIdleTimeoutHandler Handles idle timeout.
INonBlockingConnection A connection which accesses the underlying channel in a non-blocking manner.
IServer A server accepts new incoming connections, and delegates the handling of the INonBlockingConnection to the assigned handler.
IServerListener Listener interface, which defines specific callback methods for a IServer
IWriteCompletionHandler Call back handler.
 

Class Summary
AbstractNonBlockingStream implementation base of a data stream.
BlockingConnection Implementation of the IBlockingConnection interface.
BlockingConnectionPool A blocking connection pool implementation.
ConnectionUtils utility class
HandlerChain Implements a handler chain.
NonBlockingConnection Implementation of the INonBlockingConnection interface.
NonBlockingConnectionPool A connection pool implementation.
Server Implementation of a server.
 

Enum Summary
IConnection.FlushMode  
 

Exception Summary
MaxConnectionsExceededException Checked exception thrown when a the max number of connections is exceeded
 

Package org.xsocket.connection Description

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.



Copyright 2010 xSocket.org