A B C D E F G H I J L M N O P R S T U V W

A

ACCEPTOR_CLASSNAME_KEY - Static variable in interface org.xsocket.stream.io.spi.IAcceptor
 
activateSecuredMode() - Method in interface org.xsocket.stream.IConnection
ad hoc activation of a secured mode (SSL).
addFirst(ByteBuffer) - Method in class org.xsocket.ByteBufferQueue
add a byte buffer at the first position
addFirst(LinkedList<ByteBuffer>) - Method in class org.xsocket.ByteBufferQueue
add a list of byte buffer to the first position.
addFirstSilence(LinkedList<ByteBuffer>) - Method in class org.xsocket.ByteBufferQueue
add a list of byte buffer to the first position.
addLast(IHandler) - Method in class org.xsocket.stream.HandlerChain
add a handler to the end og the chain
addListener(IMutlithreadedServerListener) - Method in interface org.xsocket.stream.IMultithreadedServer
adds a listener
addListener(IMutlithreadedServerListener) - Method in class org.xsocket.stream.MultithreadedServer
adds a listener
append(ByteBuffer) - Method in class org.xsocket.ByteBufferQueue
append a byte buffer to this queue.
append(LinkedList<ByteBuffer>) - Method in class org.xsocket.ByteBufferQueue
append a list of byte buffer to this queue.
attach(Object) - Method in interface org.xsocket.stream.IConnection
Deprecated. use IConnection.setAttachment(Object) instead
attachment() - Method in interface org.xsocket.stream.IConnection
Deprecated. use IConnection.getAttachment() instead

B

BlockingConnection - Class in org.xsocket.stream
Implementation of the IBlockingConnection interface.
BlockingConnection(String, int) - Constructor for class org.xsocket.stream.BlockingConnection
constructor.
BlockingConnection(String, int, StreamSocketConfiguration) - Constructor for class org.xsocket.stream.BlockingConnection
Deprecated.  
BlockingConnection(String, int, Map<String, Object>) - Constructor for class org.xsocket.stream.BlockingConnection
constructor.
BlockingConnection(InetAddress, int) - Constructor for class org.xsocket.stream.BlockingConnection
constructor
BlockingConnection(InetAddress, int, StreamSocketConfiguration) - Constructor for class org.xsocket.stream.BlockingConnection
Deprecated.  
BlockingConnection(InetAddress, int, Map<String, Object>) - Constructor for class org.xsocket.stream.BlockingConnection
Deprecated.  
BlockingConnection(InetAddress, int, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
constructor
BlockingConnection(InetAddress, int, StreamSocketConfiguration, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
Deprecated.  
BlockingConnection(InetAddress, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
constructor
BlockingConnection(String, int, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
constructor
BlockingConnection(String, int, StreamSocketConfiguration, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
Deprecated.  
BlockingConnection(String, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.stream.BlockingConnection
constructor
BlockingConnectionPool - Class in org.xsocket.stream
A connection pool implementation.
BlockingConnectionPool(long) - Constructor for class org.xsocket.stream.BlockingConnectionPool
constructor
BlockingConnectionPool(long, int, long) - Constructor for class org.xsocket.stream.BlockingConnectionPool
constructor
BlockingConnectionPool(long, int, long, int) - Constructor for class org.xsocket.stream.BlockingConnectionPool
constructor
ByteBufferQueue - Class in org.xsocket
A ByteBuffer queue for framework-internal usage
ByteBufferQueue() - Constructor for class org.xsocket.ByteBufferQueue
 

C

clone() - Method in class org.xsocket.stream.HandlerChain
clone() - Method in interface org.xsocket.stream.IConnectionScoped
close() - Method in class org.xsocket.datagram.MulticastEndpoint
close() - Method in class org.xsocket.Dispatcher
close() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
close() - Method in interface org.xsocket.stream.IConnectionPool
closes the connection pool.
close(boolean) - Method in interface org.xsocket.stream.io.spi.IIoHandler
non-blocking close of the handler.
close() - Method in class org.xsocket.stream.MultithreadedServer
ClosedConnectionException - Exception in org.xsocket
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.
ClosedConnectionException(String) - Constructor for exception org.xsocket.ClosedConnectionException
constructor
ClosedConnectionException(String, Throwable) - Constructor for exception org.xsocket.ClosedConnectionException
constructor
ConnectedEndpoint - Class in org.xsocket.datagram
connected endpoint implementation
ConnectedEndpoint(String, int) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to any available port on the local host machine.
ConnectedEndpoint(String, int, DatagramSocketConfiguration) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(SocketAddress) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to any available port on the local host machine.
ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(SocketAddress, int) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to the given available port on the local host machine.
ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(String, int, int) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to the given available port on the local host machine.
ConnectedEndpoint(String, int, DatagramSocketConfiguration, int) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(SocketAddress, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to the given available port on the local host machine.
ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Deprecated.  
ConnectedEndpoint(SocketAddress, Map<String, Object>, int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.ConnectedEndpoint
Constructs a client/server datagram socket and binds it to the given available port on the local host machine.
create(IAcceptorCallback, IIoHandlerContext, InetSocketAddress, int, Map<String, Object>, SSLContext, boolean) - Method in class org.xsocket.stream.io.impl.IoProvider
createAcceptor(IAcceptorCallback, IIoHandlerContext, InetSocketAddress, int, Map<String, Object>) - Method in class org.xsocket.stream.io.impl.IoProvider
create acceptor
createAcceptor(IAcceptorCallback, IIoHandlerContext, InetSocketAddress, int, Map<String, Object>) - Method in interface org.xsocket.stream.io.spi.IServerIoProvider
create acceptor
createAndRegister(MultithreadedServer) - Static method in class org.xsocket.stream.MultithreadedServerMBeanProxyFactory
creates and registers a mbean for the given server on the platform MBeanServer
createAndRegister(MultithreadedServer, String) - Static method in class org.xsocket.stream.MultithreadedServerMBeanProxyFactory
creates and registers a mbean for the given server on the platform MBeanServer under the given domain name
createAndRegister(MBeanServer, MultithreadedServer, String) - Static method in class org.xsocket.stream.MultithreadedServerMBeanProxyFactory
creates and registers a mbean for the given server on the given MBeanServer under the given domain name
createClientIoHandler(IIoHandlerContext, InetSocketAddress, Map<String, Object>) - Method in class org.xsocket.stream.io.impl.IoProvider
creates a client-site IIoHandler
createClientIoHandler(IIoHandlerContext, InetSocketAddress, Map<String, Object>) - Method in interface org.xsocket.stream.io.spi.IClientIoProvider
creates a client-site IIoHandler
createMBean(MultithreadedServer, IAcceptor, String) - Method in class org.xsocket.stream.io.impl.JmxIoProvider
 
createMBean(MultithreadedServer, IAcceptor, String) - Method in interface org.xsocket.stream.io.spi.IServerIoJmxProvider
create a mbean
createSSLClientIoHandler(IIoHandlerContext, InetSocketAddress, Map<String, Object>, SSLContext, boolean) - Method in class org.xsocket.stream.io.impl.IoProvider

D

DataConverter - Class in org.xsocket
a data converter utilities class
DataConverter() - Constructor for class org.xsocket.DataConverter
 
DatagramSocketConfiguration - Class in org.xsocket.datagram
Deprecated. use set/getOptions methods of endpoint instead
DatagramSocketConfiguration() - Constructor for class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated.  
DEFAULT_ADJUST_CHECK_PERIOD - Static variable in class org.xsocket.DynamicWorkerPool
Deprecated.  
DEFAULT_CONNECTION_TIMEOUT_SEC - Static variable in interface org.xsocket.stream.IMultithreadedServer
the default connection timeout
DEFAULT_HOST_ADDRESS - Static variable in interface org.xsocket.datagram.IEndpoint
the default host address
DEFAULT_IDLE_TIMEOUT_SEC - Static variable in interface org.xsocket.stream.IMultithreadedServer
the default idle timeout
DEFAULT_LOAD_THRESHOLD_DECREASE - Static variable in class org.xsocket.DynamicWorkerPool
Deprecated.  
DEFAULT_LOAD_THRESHOLD_INCREASE - Static variable in class org.xsocket.DynamicWorkerPool
Deprecated.  
DEFAULT_READ_BUFFER_PREALLOCATION_SIZE - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
DEFAULT_RECEIVE_BUFFER_PREALLOCATION_SIZE - Static variable in interface org.xsocket.stream.IMultithreadedServer
Deprecated.  
DEFAULT_USE_DIRECT_BUFFER - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
deregister(T) - Method in class org.xsocket.Dispatcher
deregister a handle.
deregister(T) - Method in interface org.xsocket.IDispatcher
deregister a handle.
destroyConnection(IConnection) - Method in interface org.xsocket.stream.IConnectionPool
destroy the given connection.
Dispatcher<T extends IHandle> - Class in org.xsocket
implementation of the IDispatcher

All dispatcher methods are thread save.
Dispatcher(IEventHandler<T>) - Constructor for class org.xsocket.Dispatcher
constructor
drain() - Method in class org.xsocket.ByteBufferQueue
drain the queue
drainIncoming() - Method in interface org.xsocket.stream.io.spi.IIoHandler
drains the handler`s read buffer.
DynamicWorkerPool - Class in org.xsocket
Deprecated. use a ThreadPool implementation of java.util.concurrent package (Executor) instead
DynamicWorkerPool(int, int) - Constructor for class org.xsocket.DynamicWorkerPool
Deprecated.  

E

Endpoint - Class in org.xsocket.datagram
Endpoint implementation
Endpoint() - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to any available port on the local host machine.
Endpoint(int) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to any available port on the local host machine.
Endpoint(DatagramSocketConfiguration, int) - Constructor for class org.xsocket.datagram.Endpoint
Deprecated.  
Endpoint(int, IDatagramHandler) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to any available port on the local host machine.
Endpoint(int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to any available port on the local host machine.
Endpoint(DatagramSocketConfiguration, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.Endpoint
Deprecated.  
Endpoint(int, IDatagramHandler, InetAddress, int) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to the given port on the local host machine.
Endpoint(DatagramSocketConfiguration, int, IDatagramHandler, InetAddress, int) - Constructor for class org.xsocket.datagram.Endpoint
Deprecated.  
Endpoint(DatagramSocketConfiguration, int, IDatagramHandler, Executor, InetAddress, int) - Constructor for class org.xsocket.datagram.Endpoint
Deprecated.  
Endpoint(Map<String, Object>, int, IDatagramHandler, Executor, InetAddress, int) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to the given port on the local host machine.
Endpoint(int, IDatagramHandler, Executor, InetAddress, int) - Constructor for class org.xsocket.datagram.Endpoint
Constructs a datagram socket and binds it to the given port on the local host machine.
execute(Runnable) - Method in class org.xsocket.DynamicWorkerPool
Deprecated. 
execute(Runnable) - Method in interface org.xsocket.IWorkerPool
Deprecated.  

F

flush() - Method in interface org.xsocket.stream.IBlockingConnection
flush the send buffer.
flush() - Method in interface org.xsocket.stream.IConnection
flush the send buffer.
flush() - Method in interface org.xsocket.stream.INonBlockingConnection
flush the send buffer.
fromOptions(Map<String, Object>) - Static method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  

G

getActiveCount() - Method in class org.xsocket.DynamicWorkerPool
Deprecated. 
getActiveCount() - Method in interface org.xsocket.IWorkerPool
Deprecated.  
getAdjustPeriod() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
getAttachment() - Method in interface org.xsocket.stream.IConnection
Retrieves the current attachment.
getAttribute(String) - Method in class org.xsocket.IntrospectionBasedDynamicBean
 
getAttributes(String[]) - Method in class org.xsocket.IntrospectionBasedDynamicBean
getAutoflush() - Method in interface org.xsocket.stream.IConnection
get autoflush
getBlockingConnection(String, int) - Method in class org.xsocket.stream.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(InetAddress, int) - Method in class org.xsocket.stream.BlockingConnectionPool
get a pool connection for the given address.
getChannel() - Method in interface org.xsocket.IHandle
returns the underlying channel
getConnectionTimeoutSec() - Method in interface org.xsocket.stream.IConnection
gets the connection timeout
getConnectionTimeoutSec() - Method in interface org.xsocket.stream.IMultithreadedServer
gets the connection timeout
getConnectionTimeoutSec() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the connection timeout.
getConnectionTimeoutSec() - Method in class org.xsocket.stream.MultithreadedServer
gets the connection timeout
getDefaultEncoding() - Method in interface org.xsocket.datagram.IEndpoint
gets the default encoding used by this endpoint
getDefaultEncoding() - Method in interface org.xsocket.stream.IConnection
gets the default encoding for this connection (used by string related methods like readString...)
getDispatcherPoolSize() - Method in interface org.xsocket.stream.IMultithreadedServer
get the dispatcher pool size
getDispatcherPoolSize() - Method in class org.xsocket.stream.MultithreadedServer
Deprecated.  
getEventHandler() - Method in class org.xsocket.Dispatcher
get the event handler of this dispatcher

.
getEventHandler() - Method in interface org.xsocket.IDispatcher
get the event handler of this dispatcher

.
getFirstBufferSize() - Method in class org.xsocket.ByteBufferQueue
get the size of the first ByteBuffer in queue
getFlushmode() - Method in interface org.xsocket.stream.INonBlockingConnection
return the flushmode
getId() - Method in interface org.xsocket.datagram.IEndpoint
return the endpoint id
getId() - Method in interface org.xsocket.stream.IConnection
returns the id
getId() - Method in interface org.xsocket.stream.io.spi.IIoHandler
return a unique conection id
getIdleTimeoutMillis() - Method in interface org.xsocket.stream.IConnectionPool
get the idle timeout for pooled connections
getIdleTimeoutSec() - Method in interface org.xsocket.stream.IConnection
returns the idle timeout in sec.
getIdleTimeoutSec() - Method in interface org.xsocket.stream.IMultithreadedServer
returns the idle timeout in sec.
getIdleTimeoutSec() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the idle timeout.
getIdleTimeoutSec() - Method in class org.xsocket.stream.MultithreadedServer
returns the idle timeout in sec.
getIndexOf(String) - Method in class org.xsocket.stream.BlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, int) - Method in class org.xsocket.stream.BlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, String, int) - Method in class org.xsocket.stream.BlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String) - Method in interface org.xsocket.stream.IBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, int) - Method in interface org.xsocket.stream.IBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String) - Method in interface org.xsocket.stream.IConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, int) - Method in interface org.xsocket.stream.IConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, String, int) - Method in interface org.xsocket.stream.IConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String) - Method in interface org.xsocket.stream.INonBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, int) - Method in interface org.xsocket.stream.INonBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String) - Method in class org.xsocket.stream.NonBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, int) - Method in class org.xsocket.stream.NonBlockingConnection
Returns the index of the first occurrence of the given string.
getIndexOf(String, String, int) - Method in class org.xsocket.stream.NonBlockingConnection
Returns the index of the first occurrence of the given string.
getInsertVersionVersion() - Method in class org.xsocket.ByteBufferQueue
return a int, which represent the insert version.
getLifeTimeoutMillis() - Method in interface org.xsocket.stream.IConnectionPool
get the life timeout
getLoad() - Method in class org.xsocket.DynamicWorkerPool
Deprecated. return the load (range: 0...100)
getLocalAddress() - Method in interface org.xsocket.datagram.IEndpoint
returns the address of the endpoint
getLocalAddress() - Method in class org.xsocket.datagram.MulticastEndpoint
returns the address of the endpoint
getLocalAddress() - Method in interface org.xsocket.stream.IConnection
returns the local address
getLocalAddress() - Method in interface org.xsocket.stream.IMultithreadedServer
get the local address
getLocalAddress() - Method in interface org.xsocket.stream.io.spi.IAcceptor
returns the local socket address
getLocalAddress() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the local address of the underlying connection.
getLocalAddress() - Method in class org.xsocket.stream.MultithreadedServer
get the local address
getLocaleAddress() - Method in interface org.xsocket.stream.IServerContext
get the local server address
getLocalePort() - Method in interface org.xsocket.stream.IServerContext
get the local server port
getLocalPort() - Method in interface org.xsocket.datagram.IEndpoint
returns the port of the endpoint
getLocalPort() - Method in class org.xsocket.datagram.MulticastEndpoint
returns the port of the endpoint
getLocalPort() - Method in interface org.xsocket.stream.IConnection
returns the local port
getLocalPort() - Method in interface org.xsocket.stream.IMultithreadedServer
get the server port
getLocalPort() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the local port of the underlying connection.
getLocalPort() - Method in class org.xsocket.stream.MultithreadedServer
get the server port
getLocalSocketAddress() - Method in interface org.xsocket.datagram.IEndpoint
Deprecated.  
getLocalSocketAddress() - Method in class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
getMaxActive() - Method in interface org.xsocket.stream.IConnectionPool
return the number of max active connections
getMaxIdle() - Method in interface org.xsocket.stream.IConnectionPool
get the number of max idle connections
getMaximumPoolSize() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
getMaxWaitMillis() - Method in interface org.xsocket.stream.IConnectionPool
get the max wait time to get a free connection by calling the getXXXConnection().
getMBeanInfo() - Method in class org.xsocket.IntrospectionBasedDynamicBean
getMinimumPoolSize() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
getNonBlockingConnection(String, int) - Method in class org.xsocket.stream.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int) - Method in class org.xsocket.stream.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler) - Method in class org.xsocket.stream.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, Executor) - Method in class org.xsocket.stream.NonBlockingConnectionPool
get a pool connection for the given address.
getNumActive() - Method in interface org.xsocket.stream.IConnectionPool
get the number of the active (borrowed) connects
getNumberOfAvailableBytes() - Method in interface org.xsocket.stream.INonBlockingConnection
get the number of available bytes to read
getNumberOfAvailableBytes() - Method in class org.xsocket.stream.NonBlockingConnection
get the number of available bytes to read
getNumberOfHandledReads() - Method in class org.xsocket.Dispatcher
get the number of handled reads
getNumberOfHandledReads() - Method in interface org.xsocket.IDispatcher
get the number of handled reads
getNumberOfHandledRegistrations() - Method in class org.xsocket.Dispatcher
get the number of handled registractions
getNumberOfHandledRegistrations() - Method in interface org.xsocket.IDispatcher
get the number of handled registractions
getNumberOfHandledWrites() - Method in class org.xsocket.Dispatcher
get the number of handled writes
getNumberOfHandledWrites() - Method in interface org.xsocket.IDispatcher
get the number of handled writes
getNumberOfOpenConnections() - Method in interface org.xsocket.stream.io.spi.IAcceptor
return the number of open connections
getNumberOfOpenConnections() - Method in interface org.xsocket.stream.IServerContext
get the number of the open server connections
getNumIdle() - Method in interface org.xsocket.stream.IConnectionPool
get the number of idling connections connections
getOption(String) - Method in interface org.xsocket.datagram.IEndpoint
returns the vlaue of a option
getOption(String) - Method in class org.xsocket.datagram.MulticastEndpoint
returns the vlaue of a option
getOption(String) - Method in interface org.xsocket.stream.IConnection
returns the value of a option
getOption(String) - Method in interface org.xsocket.stream.IMultithreadedServer
returns the vlaue of a option
getOption(String) - Method in interface org.xsocket.stream.io.spi.IAcceptor
returns the value of a option
getOption(String) - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the vlaue of a option
getOption(String) - Method in class org.xsocket.stream.MultithreadedServer
returns the vlaue of a option
getOption(Socket, int) - Static method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  
getOptions() - Method in interface org.xsocket.datagram.IEndpoint
Returns an unmodifiable map of the options supported by this endpont.
getOptions() - Method in class org.xsocket.datagram.MulticastEndpoint
 
getOptions() - Method in interface org.xsocket.stream.IConnection
Returns an unmodifiable map of the options supported by this endpoint.
getOptions() - Method in interface org.xsocket.stream.IMultithreadedServer
Returns an unmodifiable map of the options supported by this endpont.
getOptions() - Method in interface org.xsocket.stream.io.spi.IAcceptor
Returns an unmodifiable map of the options supported by this endpont.
getOptions() - Method in interface org.xsocket.stream.io.spi.IIoHandler
Returns an unmodifiable map of the options supported by this endpont.
getOptions() - Method in class org.xsocket.stream.MultithreadedServer
Returns an unmodifiable map of the options supported by this endpont.
getPendingWriteDataSize() - Method in interface org.xsocket.stream.IConnection
returns the size of the data which have already been written, but not yet transferred to the underlying socket.
getPendingWriteDataSize() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the size of the data which have already been written, but not yet transferred to the underlying socket.
getPoolSize() - Method in class org.xsocket.DynamicWorkerPool
Deprecated. 
getPoolSize() - Method in interface org.xsocket.IWorkerPool
Deprecated.  
getReceiveBufferPreallocationSize() - Method in interface org.xsocket.stream.IMultithreadedServer
Deprecated. on replacement
getReceiveBufferPreallocationSize() - Method in class org.xsocket.stream.MultithreadedServer
Deprecated. no replacement
getReceiveSize() - Method in interface org.xsocket.datagram.IEndpoint
get the size of the datagram that will be received
getRegistered() - Method in class org.xsocket.Dispatcher
return the registered handles
getRegistered() - Method in interface org.xsocket.IDispatcher
return the registered handles
getRemaining() - Method in class org.xsocket.datagram.UserDatagram
get the remaining, unwritten packet size
getRemoteAddress() - Method in class org.xsocket.datagram.UserDatagram
Returns the address of the machine to which this packet is being sent or from which the packet was received.
getRemoteAddress() - Method in interface org.xsocket.stream.IConnection
returns the remote address
getRemoteAddress() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the address of the remote host of the underlying connection.
getRemotePort() - Method in class org.xsocket.datagram.UserDatagram
Returns the port number of the machine to which this packet is being sent or from which the packet was received.
getRemotePort() - Method in interface org.xsocket.stream.IConnection
returns the port of the remote endpoint
getRemotePort() - Method in interface org.xsocket.stream.io.spi.IIoHandler
returns the port of the remote host of the underlying connection.
getRemoteSocketAddress() - Method in class org.xsocket.datagram.ConnectedEndpoint
return the connected remote address or null if not connected
getRemoteSocketAddress() - Method in interface org.xsocket.datagram.IConnectedEndpoint
return the connected remote address or null if not connected
getRemoteSocketAddress() - Method in class org.xsocket.datagram.MulticastEndpoint
return the connected remote address or null if not connected
getRemoteSocketAddress() - Method in class org.xsocket.datagram.UserDatagram
Returns the socket address of the machine to which this packet is being sent or from which the packet was received.
getSize() - Method in class org.xsocket.ByteBufferQueue
return the current size
getSize() - Method in class org.xsocket.datagram.UserDatagram
get the packet size
getSocketOptions() - Method in class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
getThresholdDecrease() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
getThresholdIncrease() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
getWorkerPool() - Method in interface org.xsocket.stream.IMultithreadedServer
Deprecated. use IMultithreadedServer.getWorkerpool() instead
getWorkerpool() - Method in interface org.xsocket.stream.IMultithreadedServer
return the worker pool
getWorkerpool() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
the (shared) worker pool.
getWorkerpool() - Method in interface org.xsocket.stream.IServerContext
return the worker pool
getWorkerPool() - Method in class org.xsocket.stream.MultithreadedServer
Deprecated. use IMultithreadedServer.getWorkerpool() instead
getWorkerpool() - Method in class org.xsocket.stream.MultithreadedServer
return the worker pool
getWritten() - Method in class org.xsocket.stream.INonBlockingConnection.TransferResult
 

H

HandlerChain - Class in org.xsocket.stream
Implements a handler chain.
HandlerChain() - Constructor for class org.xsocket.stream.HandlerChain
constructor
HandlerChain(List<IHandler>) - Constructor for class org.xsocket.stream.HandlerChain
constructor

I

IAcceptor - Interface in org.xsocket.stream.io.spi
Acceptor specification

This class is experimental and is subject to change
IAcceptorCallback - Interface in org.xsocket.stream.io.spi
Server IO Provider callback

This class is experimental and is subject to change
IBlockingConnection - Interface in org.xsocket.stream
A connection which uses the underlying channel in a blocking manner.
IClientIoProvider - Interface in org.xsocket.stream.io.spi
Client IO Provider, which is responsible to create and manage client-side IIoHandler

This class is experimental and is subject to change
IConnectedEndpoint - Interface in org.xsocket.datagram
An connected endpoint, which receives/sends data only from/to from the assigned connected endpoint.
IConnectHandler - Interface in org.xsocket.stream
Handles new incomming connections.
IConnection - Interface in org.xsocket.stream
A connection (session) between two endpoints.
IConnection.FlushMode - Enum in org.xsocket.stream
 
IConnectionPool - Interface in org.xsocket.stream
a connection pool
IConnectionScoped - Interface in org.xsocket.stream
Defines that the IHandler is connection scoped.
IDatagramHandler - Interface in org.xsocket.datagram
Endpoint handler, which will be used by receiving a datagram in a asynchronous manner.
IDataHandler - Interface in org.xsocket.stream
Reads and processes the incoming data.
IDataSink - Interface in org.xsocket
A data sink is an I/O resource capable of receiving data.
IDataSource - Interface in org.xsocket
A data sink is an I/O resource capable of providing data.
IDisconnectHandler - Interface in org.xsocket.stream
Handles the disconnecting of connections.
IDispatcher<T extends IHandle> - Interface in org.xsocket
A Dispatcher encapsulates an underlying Selector.
IEndpoint - Interface in org.xsocket.datagram
An endpoint, which can be used to send and receive UserDatagram.
IEventHandler<T extends IHandle> - Interface in org.xsocket
Handles readiness events managed by a IDispatcher
IHandle - Interface in org.xsocket
A handle of a SelectableChannel which will be used by the IDispatcher to reference selectable resource
IHandler - Interface in org.xsocket.stream
A marker interface for a handler

Specific handlers defines on<event> callback methods.
IHandlerIoProvider - Interface in org.xsocket.stream.io.spi


This class is experimental and is subject to change
IIoHandler - Interface in org.xsocket.stream.io.spi
The IIoHandler is responsible to perform the low level io operation of a IConnection.
IIoHandlerCallback - Interface in org.xsocket.stream.io.spi
Call back interface to notify io events of the IIoHandler.
IIoHandlerContext - Interface in org.xsocket.stream.io.spi
Provides the IIoHandler`s context parameters

This class is experimental and is subject to change
ILifeCycle - Interface in org.xsocket
The interfaces defines call back methods, that signals when an entity has been initialized or destroyed.
ILifeCycle - Interface in org.xsocket.stream
Deprecated. use ILifeCycle instead
IMultithreadedServer - Interface in org.xsocket.stream
A server accepts new incomming connections, and delegates the handling of the INonBlockingConnection to the assigned handler.
IMutlithreadedServerListener - Interface in org.xsocket.stream
listener interface, which defines specific callback methods for a IMultithreadedServer
indexOf(String) - Method in interface org.xsocket.stream.INonBlockingConnection
Deprecated. uses getIndexOf instead
init(IIoHandlerCallback) - Method in interface org.xsocket.stream.io.spi.IIoHandler
"starts" the handler.
INITIAL_AUTOFLUSH - Static variable in interface org.xsocket.stream.IConnection
 
INITIAL_DEFAULT_ENCODING - Static variable in interface org.xsocket.stream.IConnection
 
INITIAL_FLUSH_MODE - Static variable in interface org.xsocket.stream.INonBlockingConnection
 
INITIAL_RECEIVE_TIMEOUT - Static variable in interface org.xsocket.stream.IBlockingConnection
 
INonBlockingConnection - Interface in org.xsocket.stream
A connection which uses the underlying channel in a non-blocking manner.
INonBlockingConnection.TransferResult - Class in org.xsocket.stream
 
IntrospectionBasedDynamicBean - Class in org.xsocket
introspection based dynamic mbean, which exposes the getter and setter methods (all visibilities) of the underlying object by using introspection
framework internal class
IntrospectionBasedDynamicBean(Object) - Constructor for class org.xsocket.IntrospectionBasedDynamicBean
constructore
invoke(String, Object[], String[]) - Method in class org.xsocket.IntrospectionBasedDynamicBean
invokeAll(Collection<Callable<T>>) - Method in class org.xsocket.DynamicWorkerPool
Deprecated. 
invokeAll(Collection<Callable<T>>) - Method in interface org.xsocket.IWorkerPool
Deprecated.  
IoProvider - Class in org.xsocket.stream.io.impl
Server and Client IoProvider

This class is a default implementation of the org.xsocket.stream.io.spi and shouldn`t be used outside this context.
IoProvider() - Constructor for class org.xsocket.stream.io.impl.IoProvider
 
IP_MULTICAST_LOOP - Static variable in interface org.xsocket.datagram.IEndpoint
 
IP_MULTICAST_TTL - Static variable in interface org.xsocket.datagram.IEndpoint
 
IP_TOS - Static variable in interface org.xsocket.datagram.IEndpoint
 
isAppHandlerListenForConnectEvent() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
returns true, if the callback handler`s onConnect method should be called
isAppHandlerListenForDataEvent() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
returns true, if the callback handler`s onData method should be called
isAppHandlerListenforDisconnectEvent() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
returns true, if the callback handler`s onDisconnect method should be called
isAppHandlerListenForTimeoutEvent() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
returns true, if the callback handler`s onTimeout method should be called
isAppHandlerThreadSafe() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
return if handler is thread save.
isDelimiterFound() - Method in class org.xsocket.stream.INonBlockingConnection.TransferResult
 
isEmpty() - Method in class org.xsocket.ByteBufferQueue
returns true, if empty
IServerContext - Interface in org.xsocket.stream
Represents the handler`s server context.
IServerIoJmxProvider - Interface in org.xsocket.stream.io.spi
Server IO Provider specification

This class is experimental and is subject to change
IServerIoProvider - Interface in org.xsocket.stream.io.spi
Server IO Provider specification

This class is experimental and is subject to change
isMultithreaded() - Method in interface org.xsocket.stream.io.spi.IIoHandlerContext
return if handling is multithreaded.
isOpen() - Method in interface org.xsocket.datagram.IEndpoint
returns, if the endpoint is open
isOpen() - Method in class org.xsocket.datagram.MulticastEndpoint
returns, if the endpoint is open
isOpen() - Method in class org.xsocket.Dispatcher
check if this dispatcher is open
isOpen() - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
isOpen() - Method in interface org.xsocket.stream.IConnection
returns, if the connection is open.
isOpen() - Method in interface org.xsocket.stream.IMultithreadedServer
signals, if service is running
isOpen() - Method in interface org.xsocket.stream.io.spi.IIoHandler
check, if the handler (underlying connection) is open.
isOpen() - Method in class org.xsocket.stream.MultithreadedServer
signals, if service is running
ITimeoutHandler - Interface in org.xsocket.stream
Handles timeout.
IWorkerPool - Interface in org.xsocket
Deprecated. replaced by Executor

J

JmxIoProvider - Class in org.xsocket.stream.io.impl
A Mbean proxy factory, which creates and registers an appropriated mbean for a given MultithreadedServer instance.
JmxIoProvider() - Constructor for class org.xsocket.stream.io.impl.JmxIoProvider
 

L

listen() - Method in interface org.xsocket.stream.io.spi.IAcceptor
executes the acceptor by listening incoming connections.

M

markReadPosition() - Method in interface org.xsocket.stream.IConnection
Marks the present read position in the connection.
markWritePosition() - Method in interface org.xsocket.stream.IConnection
Marks the present write position in the connection.
MaxReadSizeExceededException - Exception in org.xsocket
Unchecked exception thrown when a read operation reaches the predefined limit, without getting the required data
MaxReadSizeExceededException() - Constructor for exception org.xsocket.MaxReadSizeExceededException
 
MulticastEndpoint - Class in org.xsocket.datagram
non blocking Mutlicast endpoint

Caused by the missing channel support for multicast Datagram (JSE 6.0) this class is implemented by using the "classic" MulticastSocket
MulticastEndpoint(InetAddress, int) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
MulticastEndpoint(String, int, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MulticastEndpoint(String, int, DatagramSocketConfiguration, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
MulticastEndpoint(InetAddress, int, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MulticastEndpoint(InetAddress, int, int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration, int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Deprecated.  
MulticastEndpoint(InetAddress, int, Map<String, Object>, int, IDatagramHandler, Executor) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MultithreadedServer - Class in org.xsocket.stream
Implementation of a multithreaded server.
MultithreadedServer(IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

The idle- and connection time out will be set with the default values.
MultithreadedServer(IHandler, Executor) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(Map<String, Object>, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(int, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(int, IHandler, Executor) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(int, StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, IHandler, Executor) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(String, int, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(String, int, StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(String, int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(int, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(int, StreamSocketConfiguration, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(int, Map<String, Object>, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(String, int, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(String, int, StreamSocketConfiguration, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(String, int, Map<String, Object>, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(InetAddress, int, Map<String, Object>, IHandler, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out and the used workerpool see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler, Executor, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
Deprecated.  
MultithreadedServer(InetAddress, int, Map<String, Object>, IHandler, Executor, boolean, SSLContext) - Constructor for class org.xsocket.stream.MultithreadedServer
constructor

For idle-, connection time out see MultithreadedServer.MultithreadedServer(IHandler)
MultithreadedServerMBeanProxyFactory - Class in org.xsocket.stream
A Mbean proxy factory, which creates and registers an appropriated mbean for a given MultithreadedServer instance.
MultithreadedServerMBeanProxyFactory() - Constructor for class org.xsocket.stream.MultithreadedServerMBeanProxyFactory
 

N

NonBlockingConnection - Class in org.xsocket.stream
Implementation of the INonBlockingConnection interface.
NonBlockingConnection(String, int) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, StreamSocketConfiguration) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(InetAddress, int) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, StreamSocketConfiguration) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(InetAddress, int, Map<String, Object>) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, IHandler, int) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(InetAddress, int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor

constructor.
NonBlockingConnection(String, int, StreamSocketConfiguration, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
 
NonBlockingConnection(String, int, StreamSocketConfiguration, IHandler, int) - Constructor for class org.xsocket.stream.NonBlockingConnection
 
NonBlockingConnection(String, int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor

constructor.
NonBlockingConnection(InetAddress, int, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(InetAddress, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, StreamSocketConfiguration, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnection(String, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, Executor) - Constructor for class org.xsocket.stream.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, Executor, int) - Constructor for class org.xsocket.stream.NonBlockingConnection
Deprecated.  
NonBlockingConnectionPool - Class in org.xsocket.stream
A connection pool implementation.
NonBlockingConnectionPool(long) - Constructor for class org.xsocket.stream.NonBlockingConnectionPool
constructor
NonBlockingConnectionPool(long, int, long) - Constructor for class org.xsocket.stream.NonBlockingConnectionPool
 

O

onConnect(INonBlockingConnection) - Method in class org.xsocket.stream.HandlerChain
handles a new incomming connection
onConnect(INonBlockingConnection) - Method in interface org.xsocket.stream.IConnectHandler
handles a new incomming connection
onConnect() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that the underlying connection has been established.
onConnected() - Method in interface org.xsocket.stream.io.spi.IAcceptorCallback
notifies that the acceptor has been bound to the socket, and accepts incoming connections
onConnectionAbnormalTerminated() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that the connection has to be closed (connection is corrupt, selector has be closed, ...).
onConnectionAccepted(IIoHandler) - Method in interface org.xsocket.stream.io.spi.IAcceptorCallback
notifies a new incoming connection
onConnectionTimeout(INonBlockingConnection) - Method in class org.xsocket.stream.HandlerChain
handles the connection timeout.
onConnectionTimeout() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies the connection time out has been occured.
onConnectionTimeout(INonBlockingConnection) - Method in interface org.xsocket.stream.ITimeoutHandler
handles the connection timeout.
onData(INonBlockingConnection) - Method in class org.xsocket.stream.HandlerChain
processes the incomming data based on the given connection.
onData(INonBlockingConnection) - Method in interface org.xsocket.stream.IDataHandler
processes the incomming data based on the given connection.
onDatagram(IEndpoint) - Method in interface org.xsocket.datagram.IDatagramHandler
signals a incoming datagram
onDataRead() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that data has been read from the socket.
onDestroy() - Method in interface org.xsocket.ILifeCycle
signals that the entity will be destroyed
onDestroy() - Method in class org.xsocket.stream.HandlerChain
signals that the entity will be destroyed
onDisconnect(INonBlockingConnection) - Method in class org.xsocket.stream.HandlerChain
handles disconnecting of a connection
onDisconnect(INonBlockingConnection) - Method in interface org.xsocket.stream.IDisconnectHandler
handles disconnecting of a connection
onDisconnect() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that the underlying connection has been disconnected (closed).
onDisconnected() - Method in interface org.xsocket.stream.io.spi.IAcceptorCallback
notifies that the acceptor has been unbound
onDispatcherAdded(IDispatcher) - Method in interface org.xsocket.stream.IMutlithreadedServerListener
Deprecated.  
onDispatcherCloseEvent(T) - Method in interface org.xsocket.IEventHandler
callback method for a dispatcher close event
onDispatcherRemoved(IDispatcher) - Method in interface org.xsocket.stream.IMutlithreadedServerListener
Deprecated.  
onHandleReadableEvent(T) - Method in interface org.xsocket.IEventHandler
callback method for a handle readable event
onHandleRegisterEvent(T) - Method in interface org.xsocket.IEventHandler
callback method for the handle registered event
onHandleWriteableEvent(T) - Method in interface org.xsocket.IEventHandler
callback nmethod for a handle writeable event
onIdleTimeout(INonBlockingConnection) - Method in class org.xsocket.stream.HandlerChain
handles the idle timeout.
onIdleTimeout() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies the idle time out has been occured.
onIdleTimeout(INonBlockingConnection) - Method in interface org.xsocket.stream.ITimeoutHandler
handles the idle timeout.
onInit() - Method in interface org.xsocket.ILifeCycle
signals that the entity has been loaded and initialized
onInit() - Method in class org.xsocket.stream.HandlerChain
signals that the entity has been loaded and initialized
onWorkerPoolUpdated(IWorkerPool, IWorkerPool) - Method in interface org.xsocket.stream.IMutlithreadedServerListener
Deprecated.  
onWriteException(IOException) - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that an error has been occured by writing data on the socket.
onWritten() - Method in interface org.xsocket.stream.io.spi.IIoHandlerCallback
notifies that data has been written on the socket.
org.xsocket - package org.xsocket
Provides shared classes for nio-based network applications.
org.xsocket.datagram - package org.xsocket.datagram
Provides classes to send or receive datagram packets in a unicast and multicast mode (one-to-many interaction) on the server and on the client side.
org.xsocket.stream - package org.xsocket.stream
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.
org.xsocket.stream.io.impl - package org.xsocket.stream.io.impl
Provides the default implementation of the io spi package.
org.xsocket.stream.io.spi - package org.xsocket.stream.io.spi
Provides spi classes to plugin low-level NIO libraries (experimental).

P

preStartSecuredMode(IIoHandler) - Method in class org.xsocket.stream.io.impl.IoProvider
 
PROVIDER_CLASSNAME_KEY - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
PROVIDER_CLASSNAME_KEY - Static variable in interface org.xsocket.stream.io.spi.IServerIoJmxProvider
 
PROVIDER_CLASSNAME_KEY - Static variable in interface org.xsocket.stream.io.spi.IServerIoProvider
 

R

read(int) - Method in class org.xsocket.ByteBufferQueue
read bytes
read(ByteBuffer) - Method in class org.xsocket.stream.BlockingConnection
.
read(ByteBuffer) - Method in class org.xsocket.stream.NonBlockingConnection
READ_BUFFER_PREALLOCATIONSIZE_CLIENT_KEY - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
READ_BUFFER_PREALLOCATIONSIZE_SERVER_KEY - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
readAvailable() - Method in interface org.xsocket.stream.INonBlockingConnection
read all received bytes
readAvailable() - Method in class org.xsocket.stream.NonBlockingConnection
read all received bytes
readAvailableByDelimiter(String, WritableByteChannel) - Method in interface org.xsocket.stream.INonBlockingConnection
Deprecated. use INonBlockingConnection.transferToAvailableByDelimiter(String, WritableByteChannel) instead
readAvailableByDelimiter(String, String, WritableByteChannel) - Method in interface org.xsocket.stream.INonBlockingConnection
Deprecated. use INonBlockingConnection.transferToAvailableByDelimiter(String, String, WritableByteChannel) instead
readAvailableByDelimiter(String, WritableByteChannel) - Method in class org.xsocket.stream.NonBlockingConnection
readAvailableByDelimiter(String, String, WritableByteChannel) - Method in class org.xsocket.stream.NonBlockingConnection
readByte() - Method in class org.xsocket.datagram.UserDatagram
read a byte
readByte() - Method in interface org.xsocket.IDataSource
read a byte
readByte() - Method in class org.xsocket.stream.BlockingConnection
receive a byte. the method will block, until data is available
readByte() - Method in interface org.xsocket.stream.IBlockingConnection
receive a byte. the method will block, until data is available
readByte() - Method in interface org.xsocket.stream.IConnection
read a byte
readByte() - Method in interface org.xsocket.stream.INonBlockingConnection
read a byte
readByte() - Method in class org.xsocket.stream.NonBlockingConnection
read a byte
readByteBuffer() - Method in class org.xsocket.datagram.UserDatagram
read all remaining data as ByteBuffer
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.datagram.UserDatagram
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String) - Method in class org.xsocket.stream.BlockingConnection
receive a ByteBuffer. the method will block, until the delimiter has been read.
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.stream.BlockingConnection
receive a ByteBuffer. the method will block, until the delimiter has been read.
readByteBufferByDelimiter(String, String, int) - Method in class org.xsocket.stream.BlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String) - Method in interface org.xsocket.stream.IBlockingConnection
receive a ByteBuffer. the method will block, until the delimiter has been read.
readByteBufferByDelimiter(String, int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a ByteBuffer. the method will block, until the delimiter has been read.
readByteBufferByDelimiter(String) - Method in interface org.xsocket.stream.IConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, int) - Method in interface org.xsocket.stream.IConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, String, int) - Method in interface org.xsocket.stream.IConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String) - Method in interface org.xsocket.stream.INonBlockingConnection
read a ByteBuffer by using a delimiter To avoid memory leaks the INonBlockingConnection.readByteBufferByDelimiter(String, int) method is generally preferable
For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String) - Method in class org.xsocket.stream.NonBlockingConnection
read a ByteBuffer by using a delimiter To avoid memory leaks the INonBlockingConnection.readByteBufferByDelimiter(String, int) method is generally preferable
For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read a ByteBuffer by using a length defintion
readByteBufferByLength(int) - Method in class org.xsocket.stream.BlockingConnection
receive a ByteBuffer. the method will block, until the required amount of bytes has been received For performance reasons, the ByteBuffer receiveByteBuffer method is generally preferable to get bytes
readByteBufferByLength(int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a ByteBuffer. the method will block, until the required amount of bytes has been received For performance reasons, the ByteBuffer receiveByteBuffer method is generally preferable to get bytes
readByteBufferByLength(int) - Method in interface org.xsocket.stream.IConnection
read a ByteBuffer by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByLength(int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a ByteBuffer by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByLength(int) - Method in class org.xsocket.stream.NonBlockingConnection
read a ByteBuffer by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytes() - Method in class org.xsocket.datagram.UserDatagram
reads the remaining data as byte array
readBytesByDelimiter(String, int) - Method in class org.xsocket.datagram.UserDatagram
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, int) - Method in interface org.xsocket.IDataSource
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String) - Method in class org.xsocket.stream.BlockingConnection
receive a byte array. the method will block, until the delimiter has been read.
readBytesByDelimiter(String, int) - Method in class org.xsocket.stream.BlockingConnection
receive a byte array. the method will block, until the delimiter has been read.
readBytesByDelimiter(String, String, int) - Method in class org.xsocket.stream.BlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String) - Method in interface org.xsocket.stream.IBlockingConnection
receive a byte array. the method will block, until the delimiter has been read.
readBytesByDelimiter(String, int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a byte array. the method will block, until the delimiter has been read.
readBytesByDelimiter(String) - Method in interface org.xsocket.stream.IConnection
read a byte array by using a delimiter. readByteBufferByDelimiter(String, int) To avoid memory leaks the IConnection.readBytesByDelimiter(String, int) method is generally preferable
For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, int) - Method in interface org.xsocket.stream.IConnection
read a byte array by using a delimiter. readByteBufferByDelimiter(String, int) For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String, int) - Method in interface org.xsocket.stream.IConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String) - Method in interface org.xsocket.stream.INonBlockingConnection
read a byte array by using a delimiter To avoid memory leaks the INonBlockingConnection.readBytesByDelimiter(String, int) method is generally preferable
For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String) - Method in class org.xsocket.stream.NonBlockingConnection
read a byte array by using a delimiter To avoid memory leaks the INonBlockingConnection.readBytesByDelimiter(String, int) method is generally preferable
For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read bytes by using a length defintion
readBytesByLength(int) - Method in interface org.xsocket.IDataSource
read bytes by using a length defintion
readBytesByLength(int) - Method in class org.xsocket.stream.BlockingConnection
receive a byte array. the method will block, until the required amount of bytes has been received For performance reasons, the ByteBuffer receiveByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a byte array. the method will block, until the required amount of bytes has been received For performance reasons, the ByteBuffer receiveByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in interface org.xsocket.stream.IConnection
read bytes by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in interface org.xsocket.stream.INonBlockingConnection
read bytes by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in class org.xsocket.stream.NonBlockingConnection
read bytes by using a length defintion For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readDouble() - Method in class org.xsocket.datagram.UserDatagram
read a double
readDouble() - Method in interface org.xsocket.IDataSource
read a double
readDouble() - Method in class org.xsocket.stream.BlockingConnection
receive a double. the method will block, until data is available
readDouble() - Method in interface org.xsocket.stream.IBlockingConnection
receive a double. the method will block, until data is available
readDouble() - Method in interface org.xsocket.stream.IConnection
read a double
readDouble() - Method in interface org.xsocket.stream.INonBlockingConnection
read a double
readDouble() - Method in class org.xsocket.stream.NonBlockingConnection
read a double
readInt() - Method in class org.xsocket.datagram.UserDatagram
read an int
readInt() - Method in interface org.xsocket.IDataSource
read an int
readInt() - Method in class org.xsocket.stream.BlockingConnection
receive an int. the method will block, until data is available
readInt() - Method in interface org.xsocket.stream.IBlockingConnection
receive an int. the method will block, until data is available
readInt() - Method in interface org.xsocket.stream.IConnection
read an int
readInt() - Method in interface org.xsocket.stream.INonBlockingConnection
read an int
readInt() - Method in class org.xsocket.stream.NonBlockingConnection
read an int
readLong() - Method in class org.xsocket.datagram.UserDatagram
read a long
readLong() - Method in interface org.xsocket.IDataSource
read a long
readLong() - Method in class org.xsocket.stream.BlockingConnection
receive a long. the method will block, until data is available
readLong() - Method in interface org.xsocket.stream.IBlockingConnection
receive a long. the method will block, until data is available
readLong() - Method in interface org.xsocket.stream.IConnection
read a long
readLong() - Method in interface org.xsocket.stream.INonBlockingConnection
read a long
readLong() - Method in class org.xsocket.stream.NonBlockingConnection
read a long
readShort() - Method in class org.xsocket.datagram.UserDatagram
read an short
readShort() - Method in interface org.xsocket.IDataSource
read a short value
readShort() - Method in class org.xsocket.stream.BlockingConnection
read a short value
readShort() - Method in class org.xsocket.stream.NonBlockingConnection
read a short value
readString() - Method in class org.xsocket.datagram.UserDatagram
read the remaining data as String
readString(String) - Method in class org.xsocket.datagram.UserDatagram
read the remaining data as String
readStringByDelimiter(String) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, int) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, String, int) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a delimiter
readStringByDelimiter(String) - Method in interface org.xsocket.IDataSource
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, int) - Method in interface org.xsocket.IDataSource
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.IDataSource
read a string by using a delimiter
readStringByDelimiter(String) - Method in class org.xsocket.stream.BlockingConnection
receive a string. the method will block, until the delimiter has been read.
readStringByDelimiter(String, int) - Method in class org.xsocket.stream.BlockingConnection
receive a string. the method will block, until the delimiter has been read.
readStringByDelimiter(String, String) - Method in class org.xsocket.stream.BlockingConnection
receive a string. the method will block, until the delimiter has been read To avoid memory leaks the IBlockingConnection.readStringByDelimiter(String, String) method is generally preferable
readStringByDelimiter(String, String, int) - Method in class org.xsocket.stream.BlockingConnection
receive a string. the method will block, until the delimiter has been read
readStringByDelimiter(String) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string. the method will block, until the delimiter has been read.
readStringByDelimiter(String, int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string. the method will block, until the delimiter has been read.
readStringByDelimiter(String, String) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string. the method will block, until the delimiter has been read To avoid memory leaks the IBlockingConnection.readStringByDelimiter(String, String) method is generally preferable
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string. the method will block, until the delimiter has been read
readStringByDelimiter(String) - Method in interface org.xsocket.stream.IConnection
read a string by using a delimiter and the connection default encoding To avoid memory leaks the IConnection.readStringByDelimiter(String, int) method is generally preferable
readStringByDelimiter(String, int) - Method in interface org.xsocket.stream.IConnection
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, String) - Method in interface org.xsocket.stream.IConnection
read a string by using a delimiter To avoid memory leaks the IConnection.readStringByDelimiter(String, String, int) method is generally preferable
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.stream.IConnection
read a string by using a delimiter
readStringByDelimiter(String) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a delimiter and the connection default encoding To avoid memory leaks the INonBlockingConnection.readStringByDelimiter(String, int) method is generally preferable
readStringByDelimiter(String, int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, String) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a delimiter To avoid memory leaks the INonBlockingConnection.readStringByDelimiter(String, String, int) method is generally preferable
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a delimiter
readStringByDelimiter(String) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a delimiter and the connection default encoding To avoid memory leaks the INonBlockingConnection.readStringByDelimiter(String, int) method is generally preferable
readStringByDelimiter(String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a delimiter and the connection default encoding
readStringByDelimiter(String, String) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a delimiter To avoid memory leaks the INonBlockingConnection.readStringByDelimiter(String, String, int) method is generally preferable
readStringByDelimiter(String, String, int) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a delimiter
readStringByLength(int, String) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a length definition
readStringByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a length definition and the connection default encoding
readStringByLength(int) - Method in interface org.xsocket.IDataSource
read a string by using a length definition and the connection default encoding
readStringByLength(int, String) - Method in interface org.xsocket.IDataSource
read a string by using a length definition
readStringByLength(int) - Method in class org.xsocket.stream.BlockingConnection
receive a string.
readStringByLength(int, String) - Method in class org.xsocket.stream.BlockingConnection
receive a string.
readStringByLength(int) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string.
readStringByLength(int, String) - Method in interface org.xsocket.stream.IBlockingConnection
receive a string.
readStringByLength(int) - Method in interface org.xsocket.stream.IConnection
read a string by using a length definition and the connection default encoding
readStringByLength(int, String) - Method in interface org.xsocket.stream.IConnection
read a string by using a length definition
readStringByLength(int) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a length definition and the connection default encoding
readStringByLength(int, String) - Method in interface org.xsocket.stream.INonBlockingConnection
read a string by using a length definition
readStringByLength(int) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a length definition and the connection default encoding
readStringByLength(int, String) - Method in class org.xsocket.stream.NonBlockingConnection
read a string by using a length definition
receive() - Method in interface org.xsocket.datagram.IEndpoint
receive a datagram packet (receive timeout = 0)
receive(long) - Method in interface org.xsocket.datagram.IEndpoint
receive a datagram packet
register(T, int) - Method in class org.xsocket.Dispatcher
register a new handle.
register(T, int) - Method in interface org.xsocket.IDispatcher
register a new handle.
removeFirst() - Method in class org.xsocket.ByteBufferQueue
remove the first ByteBuffer
removeListener(IMutlithreadedServerListener) - Method in interface org.xsocket.stream.IMultithreadedServer
removes a listener
removeListener(IMutlithreadedServerListener) - Method in class org.xsocket.stream.MultithreadedServer
removes a listener
removeReadMark() - Method in interface org.xsocket.stream.IConnection
remove the mark the present read position in the connection.
removeWriteMark() - Method in interface org.xsocket.stream.IConnection
remove the mark the present write position in the connection.
resetToReadMark() - Method in interface org.xsocket.stream.IConnection
Resets to the marked read position.
resetToWriteMark() - Method in interface org.xsocket.stream.IConnection
Resets to the marked write position.
Resource - Annotation Type in org.xsocket
The Resource annotation marks a resource that is required by the application.
resumeRead() - Method in interface org.xsocket.stream.IConnection
resume reading data from the underlying subsystem
resumeRead() - Method in interface org.xsocket.stream.io.spi.IIoHandler
resume reading data from the underlying subsystem
run() - Method in class org.xsocket.Dispatcher
run() - Method in class org.xsocket.stream.MultithreadedServer

S

send(UserDatagram) - Method in class org.xsocket.datagram.ConnectedEndpoint
 
send(UserDatagram) - Method in interface org.xsocket.datagram.IEndpoint
send a datagram to the remote endpoint
send(UserDatagram) - Method in class org.xsocket.datagram.MulticastEndpoint
send a datagram to the remote endpoint
SERVER_TRHREAD_PREFIX - Static variable in class org.xsocket.stream.StreamUtils
 
setAdjustPeriod(int) - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
setAttachment(Object) - Method in interface org.xsocket.stream.IConnection
Attaches the given object to this connection
setAttribute(Attribute) - Method in class org.xsocket.IntrospectionBasedDynamicBean
setAttributes(AttributeList) - Method in class org.xsocket.IntrospectionBasedDynamicBean
setAutoflush(boolean) - Method in interface org.xsocket.stream.IConnection
set autoflush.
setConnectionTimeoutSec(int) - Method in interface org.xsocket.stream.IConnection
sets the max time for a connections.
setConnectionTimeoutSec(int) - Method in interface org.xsocket.stream.IMultithreadedServer
sets the max time for a connections.
setConnectionTimeoutSec(int) - Method in interface org.xsocket.stream.io.spi.IIoHandler
sets the connection timout.
setConnectionTimeoutSec(int) - Method in class org.xsocket.stream.MultithreadedServer
sets the max time for a connections.
setDefaultEncoding(String) - Method in interface org.xsocket.datagram.IEndpoint
sets the default encoding used by this endpoint
setDefaultEncoding(String) - Method in interface org.xsocket.stream.IConnection
sets the default encoding for this connection (used by string related methods like readString...)
setDispatcherPoolSize(int) - Method in interface org.xsocket.stream.IMultithreadedServer
Deprecated.  
setDispatcherPoolSize(int) - Method in class org.xsocket.stream.MultithreadedServer
Deprecated.  
setFlushmode(IConnection.FlushMode) - Method in interface org.xsocket.stream.INonBlockingConnection
set the flush mode

By setting the flushmode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setHandler(IHandler) - Method in interface org.xsocket.stream.IMultithreadedServer
set the handler.
setHandler(IHandler) - Method in class org.xsocket.stream.MultithreadedServer
set the handler.
setIdleTimeoutMillis(long) - Method in interface org.xsocket.stream.IConnectionPool
set the idle timeout for pooled connections
setIdleTimeoutSec(int) - Method in interface org.xsocket.stream.IConnection
sets the idle timeout in sec
setIdleTimeoutSec(int) - Method in interface org.xsocket.stream.IMultithreadedServer
sets the idle timeout in sec
setIdleTimeoutSec(int) - Method in interface org.xsocket.stream.io.spi.IIoHandler
sets the idle timeout.
setIdleTimeoutSec(int) - Method in class org.xsocket.stream.MultithreadedServer
sets the idle timeout in sec
setIP_TOS(Integer) - Method in class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated. set IP_TOS
setIP_TOS(Integer) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set IP_TOS
setLifeTimeoutMillis(long) - Method in interface org.xsocket.stream.IConnectionPool
set the life timeout
setMaxActive(int) - Method in interface org.xsocket.stream.IConnectionPool
set the number of max active connections
setMaxIdle(int) - Method in interface org.xsocket.stream.IConnectionPool
set the number of max idle connections
setMaxWaitMillis(long) - Method in interface org.xsocket.stream.IConnectionPool
set the max wait time to get a free connection by calling the getXXXConnection().
setOption(String, Object) - Method in class org.xsocket.stream.BlockingConnection
 
setOption(String, Object) - Method in interface org.xsocket.stream.IBlockingConnection
sets the value of a option
setOption(String, Object) - Method in interface org.xsocket.stream.IConnection
sets the value of a option
setOption(String, Object) - Method in interface org.xsocket.stream.INonBlockingConnection
sets the value of a option
setOption(String, Object) - Method in interface org.xsocket.stream.io.spi.IIoHandler
set a option
setOption(String, Object) - Method in class org.xsocket.stream.NonBlockingConnection
sets the value of a option
setOption(Socket, int, Object) - Static method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  
setOptions(Socket) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  
setOptions(ServerSocket) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  
setReceiveBufferPreallocationSize(int) - Method in interface org.xsocket.stream.IMultithreadedServer
Deprecated. use System.property instead. see IoProvider
setReceiveBufferPreallocationSize(int) - Method in class org.xsocket.stream.MultithreadedServer
Deprecated. use System.property instead. see IoProvider
setReceiveSize(int) - Method in interface org.xsocket.datagram.IEndpoint
set the size of the datagram that will be received
setReceiveTimeoutMillis(long) - Method in class org.xsocket.stream.BlockingConnection
set the timeout for calling read methods in millis
setReceiveTimeoutMillis(long) - Method in interface org.xsocket.stream.IBlockingConnection
set the timeout for calling read methods in millis
setSO_KEEPALIVE(Boolean) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_KEEPALIVE
setSO_LINGER(Integer) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_LINGER
setSO_OOBINLINE(Boolean) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_OOBINLINE
setSO_RCVBUF(Integer) - Method in class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated. set SO_RCVBUF
setSO_RCVBUF(Integer) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_RCVBUF
setSO_REUSEADDR(Boolean) - Method in class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated. set SO_REUSEADDR
setSO_REUSEADDR(Boolean) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_REUSEADDR
setSO_SNDBUF(Integer) - Method in class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated. set SO_SNDBUF
setSO_SNDBUF(Integer) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_SNDBUF
setSO_TIMEOUT(Integer) - Method in class org.xsocket.datagram.DatagramSocketConfiguration
Deprecated. set SO_TIMEOUT
setSO_TIMEOUT(Integer) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set SO_TIMEOUT
setTCP_NODELAY(Boolean) - Method in class org.xsocket.stream.StreamSocketConfiguration
Deprecated. set TCP_NODELAY
setThresholdDecrease(int) - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
setThresholdIncrease(int) - Method in class org.xsocket.DynamicWorkerPool
Deprecated.  
setWorkerPool(IWorkerPool) - Method in interface org.xsocket.datagram.IEndpoint
Deprecated.  
setWorkerPool(IWorkerPool) - Method in interface org.xsocket.stream.IMultithreadedServer
Deprecated. worker pool should only be set by calling the constructor
setWorkerPool(IWorkerPool) - Method in class org.xsocket.stream.MultithreadedServer
Deprecated.  
setWriteTransferRate(int) - Method in interface org.xsocket.stream.INonBlockingConnection
set the send delay time.
setWriteTransferRate(IIoHandler, int) - Method in class org.xsocket.stream.io.impl.IoProvider
update the write transfer rate for the given handler
setWriteTransferRate(IIoHandler, int) - Method in interface org.xsocket.stream.io.spi.IHandlerIoProvider
update the write transfer rate for the given handler
setWriteTransferRate(int) - Method in class org.xsocket.stream.NonBlockingConnection
set the send delay time.
SO_BROADCAST - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_KEEPALIVE - Static variable in interface org.xsocket.stream.IConnection
 
SO_KEEPALIVE - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
SO_LINGER - Static variable in interface org.xsocket.stream.IConnection
 
SO_LINGER - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
SO_RCVBUF - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_RCVBUF - Static variable in interface org.xsocket.stream.IConnection
 
SO_RCVBUF - Static variable in interface org.xsocket.stream.IMultithreadedServer
 
SO_RCVBUF - Static variable in interface org.xsocket.stream.io.spi.IAcceptor
 
SO_RCVBUF - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
SO_REUSEADDR - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_REUSEADDR - Static variable in interface org.xsocket.stream.IConnection
 
SO_REUSEADDR - Static variable in interface org.xsocket.stream.IMultithreadedServer
 
SO_REUSEADDR - Static variable in interface org.xsocket.stream.io.spi.IAcceptor
 
SO_REUSEADDR - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
SO_SNDBUF - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_SNDBUF - Static variable in interface org.xsocket.stream.IConnection
 
SO_SNDBUF - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
start(IMultithreadedServer) - Static method in class org.xsocket.stream.StreamUtils
starts the given server within a dedicated thread.
startSecuredMode(IIoHandler, LinkedList<ByteBuffer>) - Method in class org.xsocket.stream.io.impl.IoProvider
 
StreamSocketConfiguration - Class in org.xsocket.stream
Deprecated.  
StreamSocketConfiguration() - Constructor for class org.xsocket.stream.StreamSocketConfiguration
Deprecated.  
StreamUtils - Class in org.xsocket.stream
utility class for stream based communication
suspendRead() - Method in interface org.xsocket.stream.IConnection
suspend reading data from the underlying subsystem
suspendRead() - Method in interface org.xsocket.stream.io.spi.IIoHandler
suspend reading data from the underlying subsystem
Synchronized - Annotation Type in org.xsocket
The synchronized annotation determines the synchronization scope of an entity.
Synchronized.Mode - Enum in org.xsocket
 

T

TCP_NODELAY - Static variable in interface org.xsocket.stream.IConnection
 
TCP_NODELAY - Static variable in interface org.xsocket.stream.io.spi.IClientIoProvider
 
toByteBuffer(String, String) - Static method in class org.xsocket.DataConverter
converts the given String into a ByteBuffer
toByteBuffer(ByteBuffer[]) - Static method in class org.xsocket.DataConverter
merges a ByteBuffer array into a (direct) ByteBuffer
toBytes(List<ByteBuffer>) - Static method in class org.xsocket.DataConverter
converts a list of ByteBuffer to a byte array
toBytes(ByteBuffer[]) - Static method in class org.xsocket.DataConverter
converts a ByteBuffer array to a byte array
toBytes(ByteBuffer) - Static method in class org.xsocket.DataConverter
converts a ByteBuffer into a byte array
toByteString(ByteBuffer) - Static method in class org.xsocket.DataConverter
converts the given ByteBuffer into a hex string
toFormatedBytesSize(long) - Static method in class org.xsocket.DataConverter
converts the given byte size in a textual representation
toFormatedDate(long) - Static method in class org.xsocket.DataConverter
converts the given time in a textual representation
toFormatedDuration(long) - Static method in class org.xsocket.DataConverter
converts the given duration in a textual representation
toHexString(byte[], int) - Static method in class org.xsocket.DataConverter
print the byte array as a hex string
toHexString(ByteBuffer[], int) - Static method in class org.xsocket.DataConverter
print the bytebuffer as a hex string
toString() - Method in class org.xsocket.ByteBufferQueue
toString(ByteBuffer) - Static method in class org.xsocket.DataConverter
converts the given ByteBuffer into String by using UTF-8 encoding
toString(ByteBuffer[]) - Static method in class org.xsocket.DataConverter
converts the given ByteBuffer array into String by using UTF-8 encoding
toString(ByteBuffer, String) - Static method in class org.xsocket.DataConverter
converts the given ByteBuffer into String repesentation
toString(List<ByteBuffer>, String) - Static method in class org.xsocket.DataConverter
converts the given list of ByteBuffers into a String
toString(ByteBuffer[], String) - Static method in class org.xsocket.DataConverter
converts the given array of ByteBuffers into String
toString(ByteBuffer[], String, int) - Static method in class org.xsocket.DataConverter
print the bytebuffer as limited string
toString() - Method in class org.xsocket.datagram.MulticastEndpoint
toString() - Method in class org.xsocket.datagram.UserDatagram
 
toString() - Method in class org.xsocket.DynamicWorkerPool
Deprecated. 
toTextAndHexString(ByteBuffer[], String, int) - Static method in class org.xsocket.DataConverter
 
toTextOrHexString(ByteBuffer, String, int) - Static method in class org.xsocket.DataConverter
convert the ByteBuffer into a hex or text string (deping on content)
toTextOrHexString(ByteBuffer[], String, int) - Static method in class org.xsocket.DataConverter
convert the ByteBuffer array into a hex or text string (deping on content)
transferToAvailableByDelimiter(String, WritableByteChannel) - Method in interface org.xsocket.stream.INonBlockingConnection
transfers bytes from this connection to the given writable byte channel.
transferToAvailableByDelimiter(String, String, WritableByteChannel) - Method in interface org.xsocket.stream.INonBlockingConnection
transfers bytes from this connection to the given writable byte channel.
transferToAvailableByDelimiter(String, WritableByteChannel) - Method in class org.xsocket.stream.NonBlockingConnection
transfers bytes from this connection to the given writable byte channel.
transferToAvailableByDelimiter(String, String, WritableByteChannel) - Method in class org.xsocket.stream.NonBlockingConnection
transfers bytes from this connection to the given writable byte channel.

U

UNLIMITED - Static variable in interface org.xsocket.stream.INonBlockingConnection
 
UNLIMITED - Static variable in interface org.xsocket.stream.io.spi.IHandlerIoProvider
 
UNLIMITED_TIMEOUT - Static variable in class org.xsocket.stream.BlockingConnectionPool
 
UNLIMITED_TIMEOUT - Static variable in class org.xsocket.stream.NonBlockingConnectionPool
 
updateInterestSet(T, int) - Method in class org.xsocket.Dispatcher
announce a write for he given handle.
updateInterestSet(T, int) - Method in interface org.xsocket.IDispatcher
announce a write for he given handle.
USE_DIRECT_READ_BUFFER_CLIENT_KEY - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
USE_DIRECT_READ_BUFFER_SERVER_KEY - Static variable in class org.xsocket.stream.io.impl.IoProvider
 
UserDatagram - Class in org.xsocket.datagram
a datagram packet
UserDatagram(int) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates an empty packet
UserDatagram(String, int, int) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates an empty packet by setting the target remote address
UserDatagram(InetAddress, int, int) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates an empty packet by setting the target remote address
UserDatagram(SocketAddress, int) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates an empty packet by setting the target remote address
UserDatagram(ByteBuffer) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates packet, and sets the content with the given buffer
UserDatagram(SocketAddress, ByteBuffer) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates packet by setting the target remote address, and sets the content with the given buffer
UserDatagram(byte[]) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates packet sets the content with the given byte array
UserDatagram(String, int, byte[]) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates packet by setting the target remote address, and sets the content with the given byte array
UserDatagram(SocketAddress, byte[]) - Constructor for class org.xsocket.datagram.UserDatagram
constructor. creates packet by setting the target remote address, and sets the content with the given byte array

V

validateSufficientDatasizeByIntLengthField(INonBlockingConnection) - Static method in class org.xsocket.stream.StreamUtils
validate, based on a leading int length field, that enough data (getNumberOfAvailableBytes() >= length) is available.
valueOf(String) - Static method in enum org.xsocket.stream.IConnection.FlushMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.xsocket.Synchronized.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xsocket.stream.IConnection.FlushMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.xsocket.Synchronized.Mode
Returns an array containing the constants of this enum type, in the order they are declared.

W

WaitTimeoutException - Exception in org.xsocket.stream
Checked exception, thrown when a the wait timeout has been reached
WaitTimeoutException(String) - Constructor for exception org.xsocket.stream.WaitTimeoutException
 
WORKER_PREFIX - Static variable in class org.xsocket.DynamicWorkerPool
Deprecated.  
write(byte) - Method in class org.xsocket.datagram.UserDatagram
writes a byte to the packet
write(short) - Method in class org.xsocket.datagram.UserDatagram
writes a short to the packet
write(byte...) - Method in class org.xsocket.datagram.UserDatagram
writes bytes to the packet
write(byte[], int, int) - Method in class org.xsocket.datagram.UserDatagram
writes bytes to the packet
write(ByteBuffer) - Method in class org.xsocket.datagram.UserDatagram
writes a byte buffer to the packet
write(ByteBuffer[]) - Method in class org.xsocket.datagram.UserDatagram
writes a byte array to the packet
write(double) - Method in class org.xsocket.datagram.UserDatagram
writes a double to the packet
write(int) - Method in class org.xsocket.datagram.UserDatagram
writes a int to the packet
write(long) - Method in class org.xsocket.datagram.UserDatagram
writes a long to the packet
write(String) - Method in class org.xsocket.datagram.UserDatagram
write a message
write(String, String) - Method in class org.xsocket.datagram.UserDatagram
write a message
write(byte) - Method in interface org.xsocket.IDataSink
writes a byte to the data sink
write(byte...) - Method in interface org.xsocket.IDataSink
writes bytes to the data sink
write(byte[], int, int) - Method in interface org.xsocket.IDataSink
writes bytes to the data sink
write(ByteBuffer) - Method in interface org.xsocket.IDataSink
writes a byte buffer to the data sink
write(ByteBuffer[]) - Method in interface org.xsocket.IDataSink
writes a byte array to the data sink
write(int) - Method in interface org.xsocket.IDataSink
writes a int to the data sink
write(short) - Method in interface org.xsocket.IDataSink
writes a short to the data sink
write(long) - Method in interface org.xsocket.IDataSink
writes a long to the data sink
write(double) - Method in interface org.xsocket.IDataSink
writes a double to the data sink
write(String, String) - Method in interface org.xsocket.IDataSink
write a message
write(String) - Method in interface org.xsocket.IDataSink
writes a message
write(String, String) - Method in interface org.xsocket.stream.IBlockingConnection
sends a message to the remote endpoint
write(String) - Method in interface org.xsocket.stream.IBlockingConnection
sends a message to the remote endpoint by using the connection default encoding
write(byte) - Method in interface org.xsocket.stream.IBlockingConnection
sends a byte to the remote endpoint
write(byte...) - Method in interface org.xsocket.stream.IBlockingConnection
sends bytes to the remote endpoint
write(byte[], int, int) - Method in interface org.xsocket.stream.IBlockingConnection
sends bytes to the remote endpoint
write(ByteBuffer) - Method in interface org.xsocket.stream.IBlockingConnection
sends a byte buffer to the remote endpoint
write(ByteBuffer[]) - Method in interface org.xsocket.stream.IBlockingConnection
sends an array of byte buffer to the remote endpoint
write(int) - Method in interface org.xsocket.stream.IBlockingConnection
sends an int to the remote endpoint
write(long) - Method in interface org.xsocket.stream.IBlockingConnection
sends a long to the remote endpoint
write(double) - Method in interface org.xsocket.stream.IBlockingConnection
sends a double to the remote endpoint
write(String, String) - Method in interface org.xsocket.stream.IConnection
sends a message to the remote endpoint
write(String) - Method in interface org.xsocket.stream.IConnection
sends a message to the remote endpoint by using the connection default encoding
write(byte) - Method in interface org.xsocket.stream.IConnection
sends a byte to the remote endpoint
write(byte...) - Method in interface org.xsocket.stream.IConnection
sends bytes to the remote endpoint
write(byte[], int, int) - Method in interface org.xsocket.stream.IConnection
sends bytes to the remote endpoint
write(ByteBuffer) - Method in interface org.xsocket.stream.IConnection
sends a byte buffer to the remote endpoint.
write(ByteBuffer[]) - Method in interface org.xsocket.stream.IConnection
sends an array of byte buffer to the remote endpoint.
write(int) - Method in interface org.xsocket.stream.IConnection
sends an int to the remote endpoint
write(long) - Method in interface org.xsocket.stream.IConnection
sends a long to the remote endpoint
write(double) - Method in interface org.xsocket.stream.IConnection
sends a double to the remote endpoint
write(ByteBuffer) - Method in interface org.xsocket.stream.INonBlockingConnection
sends a byte buffer to the remote endpoint.
write(ByteBuffer[]) - Method in interface org.xsocket.stream.INonBlockingConnection
sends an array of byte buffer to the remote endpoint.
writeOutgoing(ByteBuffer) - Method in interface org.xsocket.stream.io.spi.IIoHandler
non-blocking write.
writeOutgoing(LinkedList<ByteBuffer>) - Method in interface org.xsocket.stream.io.spi.IIoHandler
non-blocking write.

A B C D E F G H I J L M N O P R S T U V W