Package org.xsocket

Package class diagram package org.xsocket
Provides shared classes for nio-based network applications.

See:
          Description

Interface Summary
IDataSink A data sink is an I/O resource capable of receiving data.
IDataSource A data sink is an I/O resource capable of providing data.
IDispatcher<T extends IHandle> A Dispatcher encapsulates an underlying Selector.
IEventHandler<T extends IHandle> Handles readiness events managed by a IDispatcher
IHandle A handle of a SelectableChannel which will be used by the IDispatcher to reference selectable resource
ILifeCycle The interfaces defines call back methods, that signals when an entity has been initialized or destroyed.
IWorkerPool Deprecated. replaced by Executor
 

Class Summary
ByteBufferQueue A ByteBuffer queue for framework-internal usage
DataConverter a data converter utilities class
Dispatcher<T extends IHandle> implementation of the IDispatcher

All dispatcher methods are thread save.
DynamicWorkerPool Deprecated. use a ThreadPool implementation of java.util.concurrent package (Executor) instead
IntrospectionBasedDynamicBean introspection based dynamic mbean, which exposes the getter and setter methods (all visibilities) of the underlying object by using introspection
framework internal class
 

Enum Summary
Synchronized.Mode  
 

Exception Summary
ClosedConnectionException Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon connection that is closed, or at least closed to that operation.
MaxReadSizeExceededException Unchecked exception thrown when a read operation reaches the predefined limit, without getting the required data
 

Annotation Types Summary
Resource The Resource annotation marks a resource that is required by the application.
Synchronized The synchronized annotation determines the synchronization scope of an entity.
 

Package org.xsocket Description

Provides shared classes for nio-based network applications.