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

A

AbstractNonBlockingStream - Class in org.xsocket.connection
implementation base of a data stream.
AbstractNonBlockingStream() - Constructor for class org.xsocket.connection.AbstractNonBlockingStream
 
activateSecuredMode() - Method in class org.xsocket.connection.BlockingConnection
ad hoc activation of a secured mode (SSL).
activateSecuredMode() - Method in interface org.xsocket.connection.IBlockingConnection
ad hoc activation of a secured mode (SSL).
activateSecuredMode() - Method in interface org.xsocket.connection.INonBlockingConnection
ad hoc activation of a secured mode (SSL).
activateSecuredMode() - Method in class org.xsocket.connection.NonBlockingConnection
ad hoc activation of a secured mode (SSL).
addLast(IHandler) - Method in class org.xsocket.connection.HandlerChain
add a handler to the end og the chain
addListener(ILifeCycle) - Method in class org.xsocket.connection.BlockingConnectionPool
adds a listener
addListener(ILifeCycle) - Method in interface org.xsocket.connection.IConnectionPool
adds a listener
addListener(IServerListener) - Method in interface org.xsocket.connection.IServer
adds a listener
addListener(ILifeCycle) - Method in class org.xsocket.connection.NonBlockingConnectionPool
adds a listener
addListener(IServerListener) - Method in class org.xsocket.connection.Server
adds a listener
appendDataToReadBuffer(ByteBuffer[], int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
append data to the read buffer
appendDataToReadBuffer(ByteBuffer[]) - Method in class org.xsocket.connection.AbstractNonBlockingStream
Deprecated.  
available() - Method in class org.xsocket.connection.AbstractNonBlockingStream
get the number of available bytes to read
available() - Method in interface org.xsocket.connection.INonBlockingConnection
get the number of available bytes to read

B

BlockingConnection - Class in org.xsocket.connection
Implementation of the IBlockingConnection interface.
BlockingConnection(String, int) - Constructor for class org.xsocket.connection.BlockingConnection
constructor.
BlockingConnection(String, int, Map<String, Object>) - Constructor for class org.xsocket.connection.BlockingConnection
constructor.
BlockingConnection(InetAddress, int) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(InetAddress, int, int) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(InetAddress, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(InetAddress, int, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(InetAddress, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(InetAddress, int, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(String, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.BlockingConnection
constructor
BlockingConnection(INonBlockingConnection) - Constructor for class org.xsocket.connection.BlockingConnection
Constructor.
BlockingConnectionPool - Class in org.xsocket.connection
A blocking connection pool implementation.
BlockingConnectionPool() - Constructor for class org.xsocket.connection.BlockingConnectionPool
constructor
BlockingConnectionPool(SSLContext) - Constructor for class org.xsocket.connection.BlockingConnectionPool
constructor

C

clone() - Method in interface org.xsocket.connection.IConnectionScoped
close() - Method in class org.xsocket.connection.AbstractNonBlockingStream
 
close() - Method in class org.xsocket.connection.BlockingConnection
close() - Method in class org.xsocket.connection.BlockingConnectionPool
 
close() - Method in class org.xsocket.connection.NonBlockingConnection
close() - Method in class org.xsocket.connection.NonBlockingConnectionPool
close() - Method in class org.xsocket.connection.Server
close() - Method in class org.xsocket.datagram.MulticastEndpoint
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(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, 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, 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, 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, Map<String, Object>, 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, 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.
ConnectionUtils - Class in org.xsocket.connection
utility class

D

DataConverter - Class in org.xsocket
a data converter utilities class
DataConverter() - Constructor for class org.xsocket.DataConverter
 
DEFAULT_AUTOFLUSH - Static variable in interface org.xsocket.connection.IConnection
 
DEFAULT_CONNECTION_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnection
 
DEFAULT_CONNECTION_TIMEOUT_SEC - Static variable in interface org.xsocket.connection.IServer
the default connection timeout
DEFAULT_CREATION_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_DOMAIN - Static variable in class org.xsocket.connection.ConnectionUtils
 
DEFAULT_EXECUTION_MODE - Static variable in interface org.xsocket.connection.IHandler
 
DEFAULT_FLUSH_MODE - Static variable in interface org.xsocket.connection.IConnection
 
DEFAULT_HOST_ADDRESS - Static variable in interface org.xsocket.connection.IServer
the dafault host address
DEFAULT_HOST_ADDRESS - Static variable in interface org.xsocket.datagram.IEndpoint
the default host address
DEFAULT_IDLE_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnection
 
DEFAULT_IDLE_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_IDLE_TIMEOUT_SEC - Static variable in interface org.xsocket.connection.IServer
the default idle timeout
DEFAULT_LIFE_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_MAX_ACTIVE - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_MAX_IDLE - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_MAX_WAIT_MILLIS - Static variable in interface org.xsocket.connection.IConnectionPool
 
DEFAULT_READ_TRANSFER_PREALLOCATION_MIN_SIZE - Static variable in interface org.xsocket.connection.IServer
 
DEFAULT_READ_TRANSFER_PREALLOCATION_SIZE - Static variable in interface org.xsocket.connection.IServer
 
DEFAULT_READ_TRANSFER_USE_DIRECT - Static variable in interface org.xsocket.connection.IServer
 
DEFAULT_RECEIVE_TIMEOUT - Static variable in interface org.xsocket.connection.IBlockingConnection
 
DEFAULT_SEND_TIMEOUT_MILLIS - Static variable in class org.xsocket.connection.NonBlockingConnection
 
destroy(IBlockingConnection) - Method in class org.xsocket.connection.BlockingConnectionPool
 
destroy(INonBlockingConnection) - Static method in class org.xsocket.connection.NonBlockingConnectionPool
drainWriteQueue() - Method in class org.xsocket.connection.AbstractNonBlockingStream
drains the write buffer

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(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(Map<String, Object>, 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(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(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.
Execution - Annotation Type in org.xsocket
Annotation which defines if a method should be called in multithreaded context (default) or not.

F

flush() - Method in class org.xsocket.connection.BlockingConnection
flush the send buffer.
flush() - Method in interface org.xsocket.connection.IBlockingConnection
flush the send buffer.
flush() - Method in interface org.xsocket.connection.INonBlockingConnection
flush the send buffer.
flush() - Method in class org.xsocket.connection.NonBlockingConnection
flush the send buffer.

G

getActiveConnectionInfos() - Method in class org.xsocket.connection.BlockingConnectionPool
get a info list about the active connections
getActiveConnectionInfos() - Method in interface org.xsocket.connection.IConnectionPool
get a info list about the active connections
getActiveConnectionInfos() - Method in class org.xsocket.connection.NonBlockingConnectionPool
 
getAttachment() - Method in class org.xsocket.connection.AbstractNonBlockingStream
Retrieves the current attachment.
getAttachment() - Method in class org.xsocket.connection.BlockingConnection
Retrieves the current attachment.
getAttachment() - Method in interface org.xsocket.connection.IConnection
Retrieves the current attachment.
getAttribute(String) - Method in class org.xsocket.IntrospectionBasedDynamicMBean
 
getAttributes(String[]) - Method in class org.xsocket.IntrospectionBasedDynamicMBean
getAutoflush() - Method in interface org.xsocket.connection.IServer
get autoflush.
getAutoflush() - Method in class org.xsocket.connection.Server
get autoflush.
getBlockingConnection(String, int) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(String, int, boolean) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(String, int, int) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(String, int, int, boolean) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(InetAddress, int) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(InetAddress, int, boolean) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(InetAddress, int, int) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getBlockingConnection(InetAddress, int, int, boolean) - Method in class org.xsocket.connection.BlockingConnectionPool
get a pool connection for the given address.
getConnectionTimeoutMillis() - Method in class org.xsocket.connection.BlockingConnection
gets the connection timeout
getConnectionTimeoutMillis() - Method in interface org.xsocket.connection.IConnection
gets the connection timeout
getConnectionTimeoutMillis() - Method in interface org.xsocket.connection.IServer
gets the connection timeout
getConnectionTimeoutMillis() - Method in class org.xsocket.connection.NonBlockingConnection
gets the connection timeout
getConnectionTimeoutMillis() - Method in class org.xsocket.connection.Server
gets the connection timeout
getCreationMaxWaitMillis() - Method in class org.xsocket.connection.BlockingConnectionPool
get the max waiting by retrieving a resource
getCreationMaxWaitMillis() - Method in interface org.xsocket.connection.IConnectionPool
get the max waiting by retrieving a resource
getCreationMaxWaitMillis() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the max waiting by retrieving a resource
getData() - Method in class org.xsocket.datagram.UserDatagram
return the underlying data buffer
getDefaultEncoding() - Method in interface org.xsocket.datagram.IEndpoint
gets the default encoding used by this endpoint
getEncoding() - Method in class org.xsocket.connection.AbstractNonBlockingStream
gets the default encoding
getEncoding() - Method in class org.xsocket.connection.BlockingConnection
gets the encoding (used by string related methods like write(String) ...)
getEncoding() - Method in interface org.xsocket.connection.IBlockingConnection
gets the encoding (used by string related methods like write(String) ...)
getEncoding() - Method in interface org.xsocket.connection.INonBlockingConnection
gets the encoding (used by string related methods like write(String) ...)
getEncoding() - Method in class org.xsocket.datagram.UserDatagram
 
getFlushmode() - Method in class org.xsocket.connection.AbstractNonBlockingStream
return the flush mode
getFlushmode() - Method in class org.xsocket.connection.BlockingConnection
return the flush mode
getFlushmode() - Method in interface org.xsocket.connection.IBlockingConnection
return the flush mode
getFlushmode() - Method in interface org.xsocket.connection.INonBlockingConnection
return the flush mode
getFlushMode() - Method in interface org.xsocket.connection.IServer
return the flush mode for new connections
getFlushMode() - Method in class org.xsocket.connection.Server
return the flush mode for new connections
getHandler() - Method in interface org.xsocket.connection.INonBlockingConnection
gets the connection handler
getHandler() - Method in interface org.xsocket.connection.IServer
gets the handler
getHandler() - Method in class org.xsocket.connection.NonBlockingConnection
gets the connection handler
getHandler() - Method in class org.xsocket.connection.Server
 
getId() - Method in class org.xsocket.connection.BlockingConnection
returns the id
getId() - Method in interface org.xsocket.connection.IConnection
returns the id
getId() - Method in class org.xsocket.connection.NonBlockingConnection
returns the id
getId() - Method in interface org.xsocket.datagram.IEndpoint
return the endpoint id
getIdleConnectionInfos() - Method in class org.xsocket.connection.BlockingConnectionPool
get a info list about the idle connections
getIdleConnectionInfos() - Method in interface org.xsocket.connection.IConnectionPool
get a info list about the idle connections
getIdleConnectionInfos() - Method in class org.xsocket.connection.NonBlockingConnectionPool
 
getIdleTimeoutMillis() - Method in class org.xsocket.connection.BlockingConnection
returns the idle timeout in millis.
getIdleTimeoutMillis() - Method in interface org.xsocket.connection.IConnection
returns the idle timeout in millis.
getIdleTimeoutMillis() - Method in interface org.xsocket.connection.IServer
returns the idle timeout in millis.
getIdleTimeoutMillis() - Method in class org.xsocket.connection.NonBlockingConnection
returns the idle timeout in millis.
getIdleTimeoutMillis() - Method in class org.xsocket.connection.Server
returns the idle timeout in millis.
getImplementationDate() - Static method in class org.xsocket.connection.ConnectionUtils
get the implementation date
getImplementationVersion() - Static method in class org.xsocket.connection.ConnectionUtils
get the implementation version
getImplementationVersion() - Method in class org.xsocket.connection.Server
returns the implementation version
getLocalAddress() - Method in class org.xsocket.connection.BlockingConnection
returns the local address
getLocalAddress() - Method in interface org.xsocket.connection.IConnection
returns the local address
getLocalAddress() - Method in interface org.xsocket.connection.IServer
get the local address
getLocalAddress() - Method in class org.xsocket.connection.NonBlockingConnection
returns the local address
getLocalAddress() - Method in class org.xsocket.connection.Server
get the local address
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
getLocalPort() - Method in class org.xsocket.connection.BlockingConnection
returns the local port
getLocalPort() - Method in interface org.xsocket.connection.IConnection
returns the local port
getLocalPort() - Method in interface org.xsocket.connection.IServer
get the server port
getLocalPort() - Method in class org.xsocket.connection.NonBlockingConnection
returns the local port
getLocalPort() - Method in class org.xsocket.connection.Server
get the 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
getMaxActive() - Method in class org.xsocket.connection.BlockingConnectionPool
return the number of max active resources
getMaxActive() - Method in interface org.xsocket.connection.IConnectionPool
return the number of max active resources
getMaxActive() - Method in class org.xsocket.connection.NonBlockingConnectionPool
return the number of max active resources
getMaxIdle() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of max idling resources
getMaxIdle() - Method in interface org.xsocket.connection.IConnectionPool
get the number of max idling resources
getMaxIdle() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of max idling resources
getMaxReadBufferThreshold() - Method in class org.xsocket.connection.BlockingConnection
get the max app read buffer size.
getMaxReadBufferThreshold() - Method in interface org.xsocket.connection.IBlockingConnection
get the max app read buffer size.
getMaxReadBufferThreshold() - Method in interface org.xsocket.connection.INonBlockingConnection
get the max app read buffer size.
getMaxReadBufferThreshold() - Method in class org.xsocket.connection.NonBlockingConnection
get the max app read buffer size.
getMBeanInfo() - Method in class org.xsocket.IntrospectionBasedDynamicMBean
getNonBlockingConnection(String, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(String, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(String, int, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(String, int, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(String, int, IHandler) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(String, int, IHandler, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, Executor, int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNonBlockingConnection(InetAddress, int, IHandler, Executor, int, boolean) - Method in class org.xsocket.connection.NonBlockingConnectionPool
get a pool connection for the given address.
getNumActive() - Method in class org.xsocket.connection.BlockingConnectionPool
get the current number of the active resources
getNumActive() - Method in interface org.xsocket.connection.IConnectionPool
get the current number of the active resources
getNumActive() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the current number of the active resources
getNumberOfReceivedBytes() - Method in class org.xsocket.connection.NonBlockingConnection
 
getNumberOfSendBytes() - Method in class org.xsocket.connection.NonBlockingConnection
 
getNumCreated() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of the created resources
getNumCreated() - Method in interface org.xsocket.connection.IConnectionPool
get the number of the created resources
getNumCreated() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of the created resources
getNumCreationError() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of the creation errors
getNumCreationError() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of the creation errors
getNumDestroyed() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of the destroyed resources
getNumDestroyed() - Method in interface org.xsocket.connection.IConnectionPool
get the number of the destroyed resources
getNumDestroyed() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of the destroyed resources
getNumIdle() - Method in class org.xsocket.connection.BlockingConnectionPool
get the current number of idling resources
getNumIdle() - Method in interface org.xsocket.connection.IConnectionPool
get the current number of idling resources
getNumIdle() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the current number of idling resources
getNumPendingGet() - Method in class org.xsocket.connection.BlockingConnectionPool
get the current number of pending get operations to retrieve a resource
getNumPendingGet() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the current number of pending get operations to retrieve a resource
getNumTimeoutConnectionIdle() - Method in class org.xsocket.connection.BlockingConnectionPool
 
getNumTimeoutConnectionIdle() - Method in class org.xsocket.connection.NonBlockingConnectionPool
getNumTimeoutConnectionLifetime() - Method in class org.xsocket.connection.BlockingConnectionPool
 
getNumTimeoutConnectionLifetime() - Method in class org.xsocket.connection.NonBlockingConnectionPool
getNumTimeoutPooledMaxIdleTime() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of timeouts caused by the pool idle timeout
getNumTimeoutPooledMaxIdleTime() - Method in interface org.xsocket.connection.IConnectionPool
get the number of timeouts caused by the pool idle timeout
getNumTimeoutPooledMaxIdleTime() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of timeouts caused by the pool idle timeout
getNumTimeoutPooledMaxLifeTime() - Method in class org.xsocket.connection.BlockingConnectionPool
get the number of timeouts caused by the pool life timeout
getNumTimeoutPooledMaxLifeTime() - Method in interface org.xsocket.connection.IConnectionPool
get the number of timeouts caused by the pool life timeout
getNumTimeoutPooledMaxLifeTime() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the number of timeouts caused by the pool life timeout
getOpenConnections() - Method in class org.xsocket.connection.Server
 
getOption(String) - Method in class org.xsocket.connection.BlockingConnection
returns the value of a option
getOption(String) - Method in interface org.xsocket.connection.IConnection
returns the value of a option
getOption(String) - Method in interface org.xsocket.connection.IServer
returns the vlaue of a option
getOption(String) - Method in class org.xsocket.connection.NonBlockingConnection
returns the value of a option
getOption(String) - Method in class org.xsocket.connection.Server
returns the vlaue of a option
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
getOptions() - Method in class org.xsocket.connection.BlockingConnection
Returns an unmodifiable map of the options supported by this end point.
getOptions() - Method in interface org.xsocket.connection.IConnection
Returns an unmodifiable map of the options supported by this end point.
getOptions() - Method in interface org.xsocket.connection.IServer
Returns an unmodifiable map of the options supported by this endpont.
getOptions() - Method in class org.xsocket.connection.NonBlockingConnection
Returns an unmodifiable map of the options supported by this end point.
getOptions() - Method in class org.xsocket.connection.Server
Returns an unmodifiable map of the options supported by this endpont.
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
 
getPendingWriteDataSize() - Method in class org.xsocket.connection.BlockingConnection
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.connection.IBlockingConnection
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.connection.INonBlockingConnection
returns the size of the data which have already been written, but not yet transferred to the underlying socket.
getPendingWriteDataSize() - Method in class org.xsocket.connection.NonBlockingConnection
returns the size of the data which have already been written, but not yet transferred to the underlying socket.
getPooledMaxIdleTimeMillis() - Method in class org.xsocket.connection.BlockingConnectionPool
get the idle time out
getPooledMaxIdleTimeMillis() - Method in interface org.xsocket.connection.IConnectionPool
get the idle time out
getPooledMaxIdleTimeMillis() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the idle time out
getPooledMaxLifeTimeMillis() - Method in class org.xsocket.connection.BlockingConnectionPool
get the life timeout of a resource
getPooledMaxLifeTimeMillis() - Method in interface org.xsocket.connection.IConnectionPool
get the life timeout of a resource
getPooledMaxLifeTimeMillis() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the life timeout of a resource
getReadBufferVersion() - Method in class org.xsocket.connection.AbstractNonBlockingStream
get the version of read buffer.
getReadBufferVersion() - Method in interface org.xsocket.connection.INonBlockingConnection
get the version of read buffer.
getReadQueueSize() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns the read queue size without additional check
getReceiveSize() - Method in interface org.xsocket.datagram.IEndpoint
get the size of the datagram that will be received
getReceiveTimeoutMillis() - Method in class org.xsocket.connection.BlockingConnection
get the timeout for calling read methods in millis
getReceiveTimeoutMillis() - Method in interface org.xsocket.connection.IBlockingConnection
get the timeout for calling read methods in millis
getRemaining() - Method in class org.xsocket.datagram.UserDatagram
get the remaining, unwritten packet size
getRemainingMillisToConnectionTimeout() - Method in class org.xsocket.connection.BlockingConnection
returns the remaining time before a connection timeout occurs
getRemainingMillisToConnectionTimeout() - Method in interface org.xsocket.connection.IConnection
returns the remaining time before a connection timeout occurs
getRemainingMillisToConnectionTimeout() - Method in class org.xsocket.connection.NonBlockingConnection
returns the remaining time before a connection timeout occurs
getRemainingMillisToIdleTimeout() - Method in class org.xsocket.connection.BlockingConnection
returns the remaining time before a idle timeout occurs
getRemainingMillisToIdleTimeout() - Method in interface org.xsocket.connection.IConnection
returns the remaining time before a idle timeout occurs
getRemainingMillisToIdleTimeout() - Method in class org.xsocket.connection.NonBlockingConnection
returns the remaining time before a idle timeout occurs
getRemoteAddress() - Method in class org.xsocket.connection.BlockingConnection
returns the remote address
getRemoteAddress() - Method in interface org.xsocket.connection.IConnection
returns the remote address
getRemoteAddress() - Method in class org.xsocket.connection.NonBlockingConnection
returns the remote address
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.
getRemotePort() - Method in class org.xsocket.connection.BlockingConnection
returns the port of the remote end point
getRemotePort() - Method in interface org.xsocket.connection.IConnection
returns the port of the remote end point
getRemotePort() - Method in class org.xsocket.connection.NonBlockingConnection
returns the port of the remote end point
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.
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
Deprecated.  
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.
getServerName() - Method in class org.xsocket.connection.Server
return the server name
getSize() - Method in class org.xsocket.datagram.UserDatagram
get the packet size
getStartUpLogMessage() - Method in interface org.xsocket.connection.IServer
returns the startUp log message
getStartUpLogMessage() - Method in class org.xsocket.connection.Server
returns the startUp log message
getVersion() - Method in class org.xsocket.connection.Server
Deprecated. use Server.getImplementationVersion() instead
getVersionInfo() - Static method in class org.xsocket.connection.ConnectionUtils
Deprecated. use ConnectionUtils.getImplementationVersion() instead
getWorkerpool() - Method in interface org.xsocket.connection.INonBlockingConnection
return the worker pool which is used to process the call back methods
getWorkerpool() - Method in interface org.xsocket.connection.IServer
return the worker pool
getWorkerpool() - Method in class org.xsocket.connection.NonBlockingConnection
gets the workerpool
getWorkerpool() - Method in class org.xsocket.connection.NonBlockingConnectionPool
get the worker pool which will be assigned to the connections for call back handling
getWorkerpool() - Method in class org.xsocket.connection.Server
return the worker pool
getWriteBufferSize() - Method in class org.xsocket.connection.AbstractNonBlockingStream
gets the write buffer size
getWriteTransferChunkeSize() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns the default chunk size for writing
getWriteTransferChunkeSize() - Method in class org.xsocket.connection.NonBlockingConnection
 
getWriteTransferRate() - Method in interface org.xsocket.connection.INonBlockingConnection
gets the send delay time.
getWriteTransferRate() - Method in class org.xsocket.connection.NonBlockingConnection
gets the send delay time.

H

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

I

IBlockingConnection - Interface in org.xsocket.connection
A connection which accesses the underlying channel in a non-blocking manner.
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.connection
Handles new incoming connections.
IConnection - Interface in org.xsocket.connection
A connection (session) between two endpoints.
IConnection.FlushMode - Enum in org.xsocket.connection
 
IConnectionPool - Interface in org.xsocket.connection
A connection pool manages a pool of open connections.
IConnectionScoped - Interface in org.xsocket.connection
Defines that the IHandler is connection scoped.
IConnectionTimeoutHandler - Interface in org.xsocket.connection
Handles connection timeout.
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.connection
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 source is an I/O resource capable of providing data.
IDisconnectHandler - Interface in org.xsocket.connection
Handles the disconnecting of connections.
IEndpoint - Interface in org.xsocket.datagram
An endpoint, which can be used to send and receive UserDatagram.
IHandler - Interface in org.xsocket.connection
A marker interface for a handler

Specific handlers defines on<event> callback methods.
IIdleTimeoutHandler - Interface in org.xsocket.connection
Handles idle timeout.
ILifeCycle - Interface in org.xsocket
The LifeCycle defines call back methods, which notifies life cycle events

indexOf(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
Returns the index of the first occurrence of the given string.
indexOf(String, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
Returns the index of the first occurrence of the given string.
indexOf(String) - Method in interface org.xsocket.connection.INonBlockingConnection
Returns the index of the first occurrence of the given string.
indexOf(String, String) - Method in interface org.xsocket.connection.INonBlockingConnection
Returns the index of the first occurrence of the given string.
INITIAL_DEFAULT_ENCODING - Static variable in interface org.xsocket.connection.IConnection
 
INonBlockingConnection - Interface in org.xsocket.connection
A connection which accesses the underlying channel in a non-blocking manner.
IntrospectionBasedDynamicMBean - Class in org.xsocket
Introspection based dynamic mbean, which exposes the getter and setter methods (default, protected and public visibility) of the underlying object by using introspection


This is a xSocket internal class and subject to change
IntrospectionBasedDynamicMBean(Object) - Constructor for class org.xsocket.IntrospectionBasedDynamicMBean
constructor
invoke(String, Object[], String[]) - Method in class org.xsocket.IntrospectionBasedDynamicMBean
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
 
isAutoflush() - Method in class org.xsocket.connection.AbstractNonBlockingStream
get autoflush
isAutoflush() - Method in class org.xsocket.connection.BlockingConnection
get autoflush
isAutoflush() - Method in interface org.xsocket.connection.IBlockingConnection
get autoflush
isAutoflush() - Method in interface org.xsocket.connection.INonBlockingConnection
get autoflush
isDataWriteable() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns true, if the underlying data sink is open
isDataWriteable() - Method in class org.xsocket.connection.NonBlockingConnection
returns true, if the underlying data sink is open
IServer - Interface in org.xsocket.connection
A server accepts new incoming connections, and delegates the handling of the INonBlockingConnection to the assigned handler.
IServerListener - Interface in org.xsocket.connection
Listener interface, which defines specific callback methods for a IServer
isMoreInputDataExpected() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns true, if the underlying data source is open
isMoreInputDataExpected() - Method in class org.xsocket.connection.NonBlockingConnection
returns true, if the underlying data source is open
isOpen() - Method in class org.xsocket.connection.BlockingConnection
return if the data source is open.
isOpen() - Method in class org.xsocket.connection.BlockingConnectionPool
returns true, is pool is open
isOpen() - Method in interface org.xsocket.connection.IConnection
returns, if the connection is open.
isOpen() - Method in interface org.xsocket.connection.IConnectionPool
returns true, is pool is open
isOpen() - Method in interface org.xsocket.connection.INonBlockingConnection
return if the data source is open.
isOpen() - Method in interface org.xsocket.connection.IServer
signals, if service is running
isOpen() - Method in class org.xsocket.connection.NonBlockingConnection
return if the data source is open.
isOpen() - Method in class org.xsocket.connection.NonBlockingConnectionPool
returns true, is pool is open
isOpen() - Method in class org.xsocket.connection.Server
signals, if service is running
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
isReadBufferEmpty() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns if the read buffer is empty
isReadSuspended() - Method in interface org.xsocket.connection.INonBlockingConnection
returns true if read is suspended
isReadSuspended() - Method in class org.xsocket.connection.NonBlockingConnection
returns true if read is suspended
isSecure() - Method in class org.xsocket.connection.BlockingConnection
returns if the connection is in secured mode
isSecure() - Method in interface org.xsocket.connection.IBlockingConnection
returns if the connection is in secured mode
isSecure() - Method in interface org.xsocket.connection.INonBlockingConnection
returns if the connection is in secured mode
isSecure() - Method in class org.xsocket.connection.NonBlockingConnection
returns if the connection is in secured mode
isSecuredModeActivateable() - Method in interface org.xsocket.connection.INonBlockingConnection
returns if secured mode is activateable
isSecuredModeActivateable() - Method in class org.xsocket.connection.NonBlockingConnection
returns if secured mode is activateable
isWriteBufferEmpty() - Method in class org.xsocket.connection.AbstractNonBlockingStream
returns if the write buffer is empty

M

markReadPosition() - Method in class org.xsocket.connection.AbstractNonBlockingStream
Marks the read position in the connection.
markReadPosition() - Method in class org.xsocket.connection.BlockingConnection
Marks the read position in the connection.
markReadPosition() - Method in interface org.xsocket.connection.IBlockingConnection
Marks the read position in the connection.
markReadPosition() - Method in interface org.xsocket.connection.INonBlockingConnection
Marks the read position in the connection.
markWritePosition() - Method in class org.xsocket.connection.AbstractNonBlockingStream
Marks the write position in the connection.
markWritePosition() - Method in class org.xsocket.connection.BlockingConnection
Marks the write position in the connection.
markWritePosition() - Method in interface org.xsocket.connection.IBlockingConnection
Marks the write position in the connection.
markWritePosition() - Method in interface org.xsocket.connection.INonBlockingConnection
Marks the write position in the connection.
MAX_SIZE - Static variable in class org.xsocket.connection.NonBlockingConnectionPool
 
MAX_TIMEOUT - Static variable in class org.xsocket.connection.NonBlockingConnectionPool
 
MAX_TIMEOUT_MILLIS - Static variable in interface org.xsocket.connection.IConnection
 
MaxReadSizeExceededException - Exception in org.xsocket
Checked exception thrown when a read operation reaches the predefined limit, without getting the required data
MaxReadSizeExceededException() - Constructor for exception org.xsocket.MaxReadSizeExceededException
 
MaxWriteSizeExceededException - Exception in org.xsocket
Checked exception thrown when a write operation reaches the predefined limit
MaxWriteSizeExceededException() - Constructor for exception org.xsocket.MaxWriteSizeExceededException
 
MIN_CHECKPERIOD_MILLIS - Static variable in class org.xsocket.connection.NonBlockingConnectionPool
 
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(String, 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) - 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(String, int, Map<String, Object>, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
MulticastEndpoint(InetAddress, int, Map<String, Object>, int, IDatagramHandler) - Constructor for class org.xsocket.datagram.MulticastEndpoint
Constructs a datagram socket and connects it to the given address
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
MULTITHREADED - Static variable in annotation type org.xsocket.Execution
 

N

newMapCache(int) - Static method in class org.xsocket.connection.ConnectionUtils
creates a thread-safe new bound cache
NonBlockingConnection - Class in org.xsocket.connection
Implementation of the INonBlockingConnection interface.
NonBlockingConnection(String, int) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetSocketAddress) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, int) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, Map<String, Object>) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, int, Map<String, Object>) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, int) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, int) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, Map<String, Object>) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, int, Map<String, Object>) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, int, Map<String, Object>) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, IHandler) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor

constructor.
NonBlockingConnection(String, int, IHandler, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor

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

constructor.
NonBlockingConnection(InetAddress, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(String, int, Map<String, Object>, SSLContext, boolean) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, int, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, int, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, int, SSLContext, boolean, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, int, SSLContext, boolean, Executor) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(InetAddress, int, IHandler, boolean, IConnection.FlushMode) - Constructor for class org.xsocket.connection.NonBlockingConnection
constructor.
NonBlockingConnection(TimeoutManager, IHandler) - Constructor for class org.xsocket.connection.NonBlockingConnection
server-side constructor
NonBlockingConnectionPool - Class in org.xsocket.connection
A connection pool implementation.
NonBlockingConnectionPool() - Constructor for class org.xsocket.connection.NonBlockingConnectionPool
constructor
NonBlockingConnectionPool(SSLContext) - Constructor for class org.xsocket.connection.NonBlockingConnectionPool
constructor
NONTHREADED - Static variable in annotation type org.xsocket.Execution
 

O

onClosed() - Method in class org.xsocket.connection.Server
 
onConnect(INonBlockingConnection) - Method in class org.xsocket.connection.HandlerChain
handles a new incoming connection
onConnect(INonBlockingConnection) - Method in interface org.xsocket.connection.IConnectHandler
handles a new incoming connection
onConnectionTimeout(INonBlockingConnection) - Method in class org.xsocket.connection.HandlerChain
handles the connection timeout.
onConnectionTimeout(INonBlockingConnection) - Method in interface org.xsocket.connection.IConnectionTimeoutHandler
handles the connection timeout.
onData(INonBlockingConnection) - Method in class org.xsocket.connection.HandlerChain
processes the incoming data based on the given connection.
onData(INonBlockingConnection) - Method in interface org.xsocket.connection.IDataHandler
processes the incoming data based on the given connection.
onDatagram(IEndpoint) - Method in interface org.xsocket.datagram.IDatagramHandler
signals a incoming datagram
onDestroy() - Method in class org.xsocket.connection.HandlerChain
 
onDestroy() - Method in interface org.xsocket.ILifeCycle
notifies that the entity will be destroyed
onDisconnect(INonBlockingConnection) - Method in class org.xsocket.connection.HandlerChain
handles disconnecting of a connection
onDisconnect(INonBlockingConnection) - Method in interface org.xsocket.connection.IDisconnectHandler
handles disconnecting of a connection
onIdleTimeout(INonBlockingConnection) - Method in class org.xsocket.connection.HandlerChain
handles the idle timeout.
onIdleTimeout(INonBlockingConnection) - Method in interface org.xsocket.connection.IIdleTimeoutHandler
handles the idle timeout.
onInit() - Method in class org.xsocket.connection.HandlerChain
 
onInit() - Method in interface org.xsocket.ILifeCycle
notifies that the entity has been loaded and initialized
onPostAppend() - Method in class org.xsocket.connection.AbstractNonBlockingStream
 
onPostAppend() - Method in class org.xsocket.connection.NonBlockingConnection
 
onPostRead() - Method in class org.xsocket.connection.AbstractNonBlockingStream
notification method which will be called after data has been read
onPostRead() - Method in class org.xsocket.connection.NonBlockingConnection
 
onPreWrite(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
call back method which will be called before writing data into the write queue
onWriteDataInserted() - Method in class org.xsocket.connection.AbstractNonBlockingStream
notification, that data has been inserted
onWriteDataInserted() - Method in class org.xsocket.connection.NonBlockingConnection
notification, that data has been inserted
org.xsocket - package org.xsocket
Provides shared classes for nio-based network applications.
org.xsocket.connection - package org.xsocket.connection
Provides classes to handle a connection-oriented, sequenced flow of data in a blocking or non-blocking mode on the server and on the client side.
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.

P

performMultiThreaded(Runnable, Executor) - Method in class org.xsocket.SerializedTaskQueue
process a task multi threaded synchronized by the internal task queue.
performNonThreaded(Runnable) - Method in class org.xsocket.SerializedTaskQueue
process a task non threaded synchronized by the internal task queue.
printReadBuffer(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
prints the read buffer content
printWriteBuffer(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
prints the write buffer content

R

read(ByteBuffer) - Method in class org.xsocket.connection.AbstractNonBlockingStream
see ReadableByteChannel.read(ByteBuffer)
read(ByteBuffer) - Method in class org.xsocket.connection.BlockingConnection
see ReadableByteChannel.read(ByteBuffer)
read(ByteBuffer) - Method in class org.xsocket.datagram.UserDatagram
see ReadableByteChannel.read(ByteBuffer)
read(ByteBuffer) - Method in interface org.xsocket.IDataSource
see ReadableByteChannel.read(ByteBuffer)
readByte() - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a byte
readByte() - Method in class org.xsocket.connection.BlockingConnection
read a byte
readByte() - Method in class org.xsocket.datagram.UserDatagram
read a byte
readByte() - Method in interface org.xsocket.IDataSource
read a byte
readByteBuffer() - Method in class org.xsocket.datagram.UserDatagram
readByteBufferByDelimiter(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
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.connection.AbstractNonBlockingStream
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.connection.BlockingConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.connection.BlockingConnection
read a ByteBuffer by using a delimiter
readByteBufferByDelimiter(String, String) - Method in class org.xsocket.connection.BlockingConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, String, int) - Method in class org.xsocket.connection.BlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, String) - Method in interface org.xsocket.connection.IBlockingConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, String, int) - Method in interface org.xsocket.connection.IBlockingConnection
read a ByteBuffer by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readByteBufferByDelimiter(String, String) - Method in interface org.xsocket.connection.INonBlockingConnection
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, String, int) - Method in interface org.xsocket.connection.INonBlockingConnection
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.connection.NonBlockingConnection
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.datagram.UserDatagram
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, String) - Method in class org.xsocket.datagram.UserDatagram
readByteBufferByDelimiter(String, int) - Method in class org.xsocket.datagram.UserDatagram
read a ByteBuffer by using a delimiter
readByteBufferByDelimiter(String, String, int) - Method in class org.xsocket.datagram.UserDatagram
readByteBufferByDelimiter(String) - Method in interface org.xsocket.IDataSource
read a ByteBuffer by using a delimiter.
readByteBufferByDelimiter(String, int) - Method in interface org.xsocket.IDataSource
read a ByteBuffer by using a delimiter
readByteBufferByLength(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a ByteBuffer
readByteBufferByLength(int) - Method in class org.xsocket.connection.BlockingConnection
read a ByteBuffer by using a length definition
readByteBufferByLength(int) - Method in class org.xsocket.connection.NonBlockingConnection
read a ByteBuffer
readByteBufferByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read a ByteBuffer by using a length definition
readByteBufferByLength(int) - Method in interface org.xsocket.IDataSource
read a ByteBuffer by using a length definition
readBytes() - Method in class org.xsocket.datagram.UserDatagram
readBytesByDelimiter(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
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 class org.xsocket.connection.AbstractNonBlockingStream
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
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.connection.AbstractNonBlockingStream
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.connection.BlockingConnection
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 class org.xsocket.connection.BlockingConnection
read a byte array by using a delimiter

For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String) - Method in class org.xsocket.connection.BlockingConnection
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.connection.BlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String) - Method in interface org.xsocket.connection.IBlockingConnection
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 interface org.xsocket.connection.IBlockingConnection
read a byte array by using a delimiter For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByDelimiter(String, String) - Method in interface org.xsocket.connection.INonBlockingConnection
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 interface org.xsocket.connection.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.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 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, String) - Method in class org.xsocket.datagram.UserDatagram
readBytesByDelimiter(String, String, int) - Method in class org.xsocket.datagram.UserDatagram
readBytesByDelimiter(String) - 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, 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
readBytesByLength(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read bytes by using a length definition
readBytesByLength(int) - Method in class org.xsocket.connection.BlockingConnection
read bytes by using a length definition

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 definition

For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readBytesByLength(int) - Method in interface org.xsocket.IDataSource
read bytes by using a length definition

For performance reasons, the ByteBuffer readByteBuffer method is generally preferable to get bytes
readDouble() - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a double
readDouble() - Method in class org.xsocket.connection.BlockingConnection
read a double
readDouble() - Method in class org.xsocket.datagram.UserDatagram
read a double
readDouble() - Method in interface org.xsocket.IDataSource
read a double
readInt() - Method in class org.xsocket.connection.AbstractNonBlockingStream
read an int
readInt() - Method in class org.xsocket.connection.BlockingConnection
read an int
readInt() - Method in class org.xsocket.datagram.UserDatagram
read an int
readInt() - Method in interface org.xsocket.IDataSource
read an int
readLong() - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a long
readLong() - Method in class org.xsocket.connection.BlockingConnection
read a long
readLong() - Method in class org.xsocket.datagram.UserDatagram
read a long
readLong() - Method in interface org.xsocket.IDataSource
read a long
readShort() - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a short value
readShort() - Method in class org.xsocket.connection.BlockingConnection
read a short value
readShort() - Method in class org.xsocket.datagram.UserDatagram
read a short value
readShort() - Method in interface org.xsocket.IDataSource
read a short value
readSingleByteBuffer(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a byte buffer by length.
readSingleByteBuffer(int) - Method in class org.xsocket.connection.NonBlockingConnection
read a byte buffer by length.
readSingleByteBufferByDelimiter(String) - Method in class org.xsocket.datagram.UserDatagram
readSingleByteBufferByDelimiter(String, String) - Method in class org.xsocket.datagram.UserDatagram
readSingleByteBufferByDelimiter(String, String, int) - Method in class org.xsocket.datagram.UserDatagram
readSingleByteBufferByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read a ByteBuffer by using a length defintion
readString() - Method in class org.xsocket.datagram.UserDatagram
readString(String) - Method in class org.xsocket.datagram.UserDatagram
readStringByDelimiter(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a delimiter
readStringByDelimiter(String, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a delimiter
readStringByDelimiter(String) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, int) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in interface org.xsocket.connection.IBlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.connection.IBlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in interface org.xsocket.connection.INonBlockingConnection
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in interface org.xsocket.connection.INonBlockingConnection
read a string by using a delimiter
readStringByDelimiter(String) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a delimiter
readStringByDelimiter(String, String) - Method in class org.xsocket.datagram.UserDatagram
readStringByDelimiter(String, int) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a delimiter
readStringByDelimiter(String, String, int) - Method in class org.xsocket.datagram.UserDatagram
readStringByDelimiter(String) - Method in interface org.xsocket.IDataSource
read a string by using a delimiter
readStringByDelimiter(String, int) - Method in interface org.xsocket.IDataSource
read a string by using a delimiter
readStringByLength(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a length definition
readStringByLength(int, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
read a string by using a length definition
readStringByLength(int) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a length definition
readStringByLength(int, String) - Method in class org.xsocket.connection.BlockingConnection
read a string by using a length definition
readStringByLength(int, String) - Method in interface org.xsocket.connection.IBlockingConnection
read a string by using a length definition
readStringByLength(int, String) - Method in interface org.xsocket.connection.INonBlockingConnection
read a string by using a length definition
readStringByLength(int, String) - Method in class org.xsocket.datagram.UserDatagram
readStringByLength(int) - Method in class org.xsocket.datagram.UserDatagram
read a string by using a length definition
readStringByLength(int) - Method in interface org.xsocket.IDataSource
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
registerMBean(IServer) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given server on the platform MBeanServer
registerMBean(IServer, String) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given server on the platform MBeanServer under the given domain name
registerMBean(IServer, String, MBeanServer) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given server on the given MBeanServer under the given domain name
registerMBean(IConnectionPool) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given connection pool on the platform MBeanServer
registerMBean(IConnectionPool, String) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given connection pool on the platform MBeanServer under the given domain name
registerMBean(IConnectionPool, String, MBeanServer) - Static method in class org.xsocket.connection.ConnectionUtils
creates and registers a mbean for the given pool on the given MBeanServer under the given domain name
removeListener(ILifeCycle) - Method in class org.xsocket.connection.BlockingConnectionPool
removes a listener
removeListener(ILifeCycle) - Method in interface org.xsocket.connection.IConnectionPool
removes a listener
removeListener(IServerListener) - Method in interface org.xsocket.connection.IServer
removes a listener
removeListener(ILifeCycle) - Method in class org.xsocket.connection.NonBlockingConnectionPool
removes a listener
removeListener(IServerListener) - Method in class org.xsocket.connection.Server
removes a listener
removeReadMark() - Method in class org.xsocket.connection.AbstractNonBlockingStream
remove the read mark
removeReadMark() - Method in class org.xsocket.connection.BlockingConnection
remove the read mark
removeReadMark() - Method in interface org.xsocket.connection.IBlockingConnection
remove the read mark
removeReadMark() - Method in interface org.xsocket.connection.INonBlockingConnection
remove the read mark
removeWriteMark() - Method in class org.xsocket.connection.AbstractNonBlockingStream
remove the write mark
removeWriteMark() - Method in class org.xsocket.connection.BlockingConnection
remove the write mark
removeWriteMark() - Method in interface org.xsocket.connection.IBlockingConnection
remove the write mark
removeWriteMark() - Method in interface org.xsocket.connection.INonBlockingConnection
remove the write mark
reset() - Method in class org.xsocket.connection.AbstractNonBlockingStream
resets the stream
reset() - Method in class org.xsocket.connection.NonBlockingConnection
pool support (the connection- and idle timeout and handler will not be reset)
resetToReadMark() - Method in class org.xsocket.connection.AbstractNonBlockingStream
Resets to the marked read position.
resetToReadMark() - Method in class org.xsocket.connection.BlockingConnection
Resets to the marked read position.
resetToReadMark() - Method in interface org.xsocket.connection.IBlockingConnection
Resets to the marked read position.
resetToReadMark() - Method in interface org.xsocket.connection.INonBlockingConnection
Resets to the marked read position.
resetToWriteMark() - Method in class org.xsocket.connection.AbstractNonBlockingStream
Resets to the marked write position.
resetToWriteMark() - Method in class org.xsocket.connection.BlockingConnection
Resets to the marked write position.
resetToWriteMark() - Method in interface org.xsocket.connection.IBlockingConnection
Resets to the marked write position.
resetToWriteMark() - Method in interface org.xsocket.connection.INonBlockingConnection
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 class org.xsocket.connection.BlockingConnection
resume reading data from the underlying subsystem
resumeRead() - Method in interface org.xsocket.connection.IBlockingConnection
resume reading data from the underlying subsystem
resumeRead() - Method in interface org.xsocket.connection.INonBlockingConnection
resume reading data from the underlying subsystem
resumeRead() - Method in class org.xsocket.connection.NonBlockingConnection
resume reading data from the underlying subsystem
run() - Method in class org.xsocket.connection.Server

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
SEND_TIMEOUT_KEY - Static variable in class org.xsocket.connection.NonBlockingConnection
 
SerializedTaskQueue - Class in org.xsocket
Serialized Task Queue

This is a xSocket internal class and subject to change
SerializedTaskQueue() - Constructor for class org.xsocket.SerializedTaskQueue
 
Server - Class in org.xsocket.connection
Implementation of a server.
Server(IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(Map<String, Object>, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(int, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(int, IHandler, int) - Constructor for class org.xsocket.connection.Server
constructor

Server(int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(InetAddress, int, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(String, int, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(String, int, Map<String, Object>, IHandler) - Constructor for class org.xsocket.connection.Server
constructor

Server(int, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(int, Map<String, Object>, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(String, int, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(String, int, Map<String, Object>, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(InetAddress, int, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(InetAddress, int, Map<String, Object>, IHandler, SSLContext, boolean) - Constructor for class org.xsocket.connection.Server
constructor

Server(InetAddress, int, Map<String, Object>, IHandler, SSLContext, boolean, int) - Constructor for class org.xsocket.connection.Server
constructor

Server(InetSocketAddress, Map<String, Object>, IHandler, SSLContext, boolean, int) - Constructor for class org.xsocket.connection.Server
constructor
SERVER_TRHREAD_PREFIX - Static variable in class org.xsocket.connection.ConnectionUtils
 
setAttachment(Object) - Method in class org.xsocket.connection.AbstractNonBlockingStream
Attaches the given object to this connection
setAttachment(Object) - Method in class org.xsocket.connection.BlockingConnection
Attaches the given object to this connection
setAttachment(Object) - Method in interface org.xsocket.connection.IConnection
Attaches the given object to this connection
setAttribute(Attribute) - Method in class org.xsocket.IntrospectionBasedDynamicMBean
setAttributes(AttributeList) - Method in class org.xsocket.IntrospectionBasedDynamicMBean
setAutoflush(boolean) - Method in class org.xsocket.connection.AbstractNonBlockingStream
set autoflush.
setAutoflush(boolean) - Method in class org.xsocket.connection.BlockingConnection
set autoflush.
setAutoflush(boolean) - Method in interface org.xsocket.connection.IBlockingConnection
set autoflush.
setAutoflush(boolean) - Method in interface org.xsocket.connection.INonBlockingConnection
set autoflush.
setAutoflush(boolean) - Method in interface org.xsocket.connection.IServer
set autoflush for new connections.
setAutoflush(boolean) - Method in class org.xsocket.connection.Server
set autoflush for new connections.
setConnectionTimeoutMillis(long) - Method in class org.xsocket.connection.BlockingConnection
sets the max time for a connections.
setConnectionTimeoutMillis(long) - Method in interface org.xsocket.connection.IConnection
sets the max time for a connections.
setConnectionTimeoutMillis(long) - Method in interface org.xsocket.connection.IServer
sets the max time for a connections.
setConnectionTimeoutMillis(long) - Method in class org.xsocket.connection.NonBlockingConnection
sets the max time for a connections.
setConnectionTimeoutMillis(long) - Method in class org.xsocket.connection.Server
sets the max time for a connections.
setCreationMaxWaitMillis(long) - Method in class org.xsocket.connection.BlockingConnectionPool
set the max waiting by retrieving a resource
setCreationMaxWaitMillis(long) - Method in interface org.xsocket.connection.IConnectionPool
set the max waiting by retrieving a resource
setCreationMaxWaitMillis(long) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the max waiting by retrieving a resource
setDefaultEncoding(String) - Method in interface org.xsocket.datagram.IEndpoint
sets the default encoding used by this endpoint
setEncoding(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
sets the default encoding
setEncoding(String) - Method in class org.xsocket.connection.BlockingConnection
sets the encoding (used by string related methods like write(String) ...)
setEncoding(String) - Method in interface org.xsocket.connection.IBlockingConnection
sets the encoding (used by string related methods like write(String) ...)
setEncoding(String) - Method in interface org.xsocket.connection.INonBlockingConnection
sets the encoding (used by string related methods like write(String) ...)
setEncoding(String) - Method in class org.xsocket.datagram.UserDatagram
 
setFlushmode(IConnection.FlushMode) - Method in class org.xsocket.connection.AbstractNonBlockingStream
set the flush mode

By setting the flush mode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setFlushmode(IConnection.FlushMode) - Method in class org.xsocket.connection.BlockingConnection
set the flush mode

By setting the flush mode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setFlushmode(IConnection.FlushMode) - Method in interface org.xsocket.connection.IBlockingConnection
set the flush mode

By setting the flush mode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setFlushmode(IConnection.FlushMode) - Method in interface org.xsocket.connection.INonBlockingConnection
set the flush mode

By setting the flush mode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setFlushMode(IConnection.FlushMode) - Method in interface org.xsocket.connection.IServer
sets the flush mode for new connections.
setFlushmode(IConnection.FlushMode) - Method in class org.xsocket.connection.NonBlockingConnection
set the flush mode

By setting the flush mode with ASYNC (default is SYNC) the data will be transferred to the underlying connection in a asynchronous way.
setFlushMode(IConnection.FlushMode) - Method in class org.xsocket.connection.Server
sets the flush mode for new connections.
setHandler(IHandler) - Method in interface org.xsocket.connection.INonBlockingConnection
set the connection handler.
setHandler(IHandler) - Method in class org.xsocket.connection.NonBlockingConnection
set the connection handler.
setIdleTimeoutMillis(long) - Method in class org.xsocket.connection.BlockingConnection
sets the idle timeout in millis
setIdleTimeoutMillis(long) - Method in interface org.xsocket.connection.IConnection
sets the idle timeout in millis
setIdleTimeoutMillis(long) - Method in interface org.xsocket.connection.IServer
sets the idle timeout in millis
setIdleTimeoutMillis(long) - Method in class org.xsocket.connection.NonBlockingConnection
sets the idle timeout in millis
setIdleTimeoutMillis(long) - Method in class org.xsocket.connection.Server
sets the idle timeout in millis
setMaxActive(int) - Method in class org.xsocket.connection.BlockingConnectionPool
set the number of max active resources
setMaxActive(int) - Method in interface org.xsocket.connection.IConnectionPool
set the number of max active resources
setMaxActive(int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the number of max active resources
setMaxIdle(int) - Method in class org.xsocket.connection.BlockingConnectionPool
set the number of max idling resources
setMaxIdle(int) - Method in interface org.xsocket.connection.IConnectionPool
set the number of max idling resources
setMaxIdle(int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the number of max idling resources
setMaxReadBufferThreshold(int) - Method in class org.xsocket.connection.BlockingConnection
set the max app read buffer threshold
setMaxReadBufferThreshold(int) - Method in interface org.xsocket.connection.IBlockingConnection
set the max app read buffer threshold
setMaxReadBufferThreshold(int) - Method in interface org.xsocket.connection.INonBlockingConnection
set the max app read buffer threshold
setMaxReadBufferThreshold(int) - Method in class org.xsocket.connection.NonBlockingConnection
set the max app read buffer threshold
setOption(String, Object) - Method in class org.xsocket.connection.BlockingConnection
sets the value of a option.
setOption(String, Object) - Method in interface org.xsocket.connection.IConnection
sets the value of a option.
setOption(String, Object) - Method in class org.xsocket.connection.NonBlockingConnection
sets the value of a option.
setOption(String, Object) - Method in class org.xsocket.datagram.ConnectedEndpoint
setOption(String, Object) - Method in class org.xsocket.datagram.Endpoint
setOption(String, Object) - Method in class org.xsocket.datagram.MulticastEndpoint
setPooledMaxIdleTimeMillis(int) - Method in class org.xsocket.connection.BlockingConnectionPool
set the idle time out of a resource within the pool
setPooledMaxIdleTimeMillis(int) - Method in interface org.xsocket.connection.IConnectionPool
set the idle time out of a resource within the pool
setPooledMaxIdleTimeMillis(int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the idle time out of a resource within the pool
setPooledMaxLifeTimeMillis(int) - Method in class org.xsocket.connection.BlockingConnectionPool
set the life timeout of a resource
setPooledMaxLifeTimeMillis(int) - Method in interface org.xsocket.connection.IConnectionPool
set the life timeout of a resource
setPooledMaxLifeTimeMillis(int) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the life timeout of a resource
setReceiveSize(int) - Method in interface org.xsocket.datagram.IEndpoint
set the size of the datagram that will be received
setReceiveTimeoutMillis(int) - Method in class org.xsocket.connection.BlockingConnection
set the timeout for calling read methods in millis
setReceiveTimeoutMillis(int) - Method in interface org.xsocket.connection.IBlockingConnection
set the timeout for calling read methods in millis
setServerName(String) - Method in class org.xsocket.connection.Server
the the server name.
setStartUpLogMessage(String) - Method in interface org.xsocket.connection.IServer
set the log message, which will be printed out during the start up
setStartUpLogMessage(String) - Method in class org.xsocket.connection.Server
set the log message, which will be printed out during the start up
setWorkerpool(Executor) - Method in interface org.xsocket.connection.IServer
sets the worker pool
setWorkerpool(Executor) - Method in class org.xsocket.connection.NonBlockingConnection
sets the worker pool
setWorkerpool(Executor) - Method in class org.xsocket.connection.NonBlockingConnectionPool
set the worker pool which will be assigned to the connections for call back handling
setWorkerpool(Executor) - Method in class org.xsocket.connection.Server
sets the worker pool
setWriteTransferRate(int) - Method in interface org.xsocket.connection.INonBlockingConnection
set the send delay time.
setWriteTransferRate(int) - Method in interface org.xsocket.connection.IServer
set the send delay time for a connection.
setWriteTransferRate(int) - Method in class org.xsocket.connection.NonBlockingConnection
set the send delay time.
setWriteTransferRate(int) - Method in class org.xsocket.connection.Server
set the send delay time for a connection.
SO_BROADCAST - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_KEEPALIVE - Static variable in interface org.xsocket.connection.IConnection
 
SO_LINGER - Static variable in interface org.xsocket.connection.IConnection
 
SO_RCVBUF - Static variable in interface org.xsocket.connection.IConnection
 
SO_RCVBUF - Static variable in interface org.xsocket.connection.IServer
 
SO_RCVBUF - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_REUSEADDR - Static variable in interface org.xsocket.connection.IConnection
 
SO_REUSEADDR - Static variable in interface org.xsocket.connection.IServer
 
SO_REUSEADDR - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_SNDBUF - Static variable in interface org.xsocket.connection.IConnection
 
SO_SNDBUF - Static variable in interface org.xsocket.datagram.IEndpoint
 
SO_TIMEOUT - Static variable in interface org.xsocket.connection.IConnection
 
start(IServer) - Static method in class org.xsocket.connection.ConnectionUtils
starts the given server within a dedicated thread.
start(IServer, int) - Static method in class org.xsocket.connection.ConnectionUtils
starts the given server within a dedicated thread.
start() - Method in interface org.xsocket.connection.IServer
starts the given server within a dedicated thread.
start() - Method in class org.xsocket.connection.Server
starts the given server within a dedicated thread.
suspendRead() - Method in class org.xsocket.connection.BlockingConnection
suspend reading data from the underlying subsystem
suspendRead() - Method in interface org.xsocket.connection.IBlockingConnection
suspend reading data from the underlying subsystem
suspendRead() - Method in interface org.xsocket.connection.INonBlockingConnection
suspend reading data from the underlying subsystem
suspendRead() - Method in class org.xsocket.connection.NonBlockingConnection
suspend reading data from the underlying subsystem

T

TCP_NODELAY - Static variable in interface org.xsocket.connection.IConnection
 
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
toByteBuffer(byte) - Static method in class org.xsocket.DataConverter
converts a single byte to a byte buffer
toByteBuffer(byte[]) - Static method in class org.xsocket.DataConverter
converts a byte array to a byte buffer
toByteBuffer(byte[], int, int) - Static method in class org.xsocket.DataConverter
converts a byte array to a byte buffer
toByteBuffer(double) - Static method in class org.xsocket.DataConverter
converts a double to a byte buffer
toByteBuffer(long) - Static method in class org.xsocket.DataConverter
converts a long to a byte buffer
toByteBuffer(short) - Static method in class org.xsocket.DataConverter
converts a short to a byte buffer
toByteBuffer(int) - Static method in class org.xsocket.DataConverter
converts a integer to a byte buffer
toByteBuffers(ByteBuffer[], int, int) - Static method in class org.xsocket.DataConverter
copies a array of ByteBuffer based on offset length to a byte buffer array
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
toDate(String) - Static method in class org.xsocket.DataConverter
converts a RFC822 date string into a date object
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
toFormatedRFC822Date(long) - Static method in class org.xsocket.DataConverter
converts the given time in a RFC822 conform date representation
toHexString(ByteBuffer) - Static method in class org.xsocket.DataConverter
converts the given ByteBuffer into a hex string
toHexString(byte[], int) - Static method in class org.xsocket.DataConverter
print the byte array as a hex string
toHexString(List<ByteBuffer>, int) - Static method in class org.xsocket.DataConverter
print the byte buffer as a hex string
toHexString(ByteBuffer[], int) - Static method in class org.xsocket.DataConverter
print the byte buffer as a hex string
toString() - Method in class org.xsocket.connection.BlockingConnection
 
toString() - Method in class org.xsocket.connection.NonBlockingConnection
toString() - Method in class org.xsocket.connection.NonBlockingConnectionPool
toString() - Method in class org.xsocket.connection.Server
 
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>) - Static method in class org.xsocket.DataConverter
converts the given list of ByteBuffers into a String by using UTF-8 encoding
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(Throwable) - Static method in class org.xsocket.DataConverter
 
toString() - Method in class org.xsocket.datagram.MulticastEndpoint
toString() - Method in class org.xsocket.datagram.UserDatagram
 
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)
transferFrom(FileChannel) - Method in class org.xsocket.connection.AbstractNonBlockingStream
transfer the data of the file channel to this data sink
transferFrom(ReadableByteChannel) - Method in class org.xsocket.connection.AbstractNonBlockingStream
transfer the data of the source channel to this data sink
transferFrom(ReadableByteChannel, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
transfer the data of the source channel to this data sink
transferFrom(ReadableByteChannel) - Method in class org.xsocket.connection.BlockingConnection
transfer the data of the source channel to this data sink by using the default chunk size
transferFrom(ReadableByteChannel, int) - Method in class org.xsocket.connection.BlockingConnection
transfer the data of the source channel to this data sink
transferFrom(FileChannel) - Method in class org.xsocket.connection.BlockingConnection
 
transferFrom(FileChannel) - Method in interface org.xsocket.connection.IBlockingConnection
transfer the data of the file channel to this data sink
transferFrom(FileChannel) - Method in interface org.xsocket.connection.INonBlockingConnection
transfer the data of the file channel to this data sink
transferFrom(ReadableByteChannel) - Method in class org.xsocket.connection.NonBlockingConnection
transfer the data of the source channel to this data sink
transferFrom(FileChannel) - Method in class org.xsocket.datagram.UserDatagram
transfer the data of the source file channel to this data sink
transferFrom(ReadableByteChannel) - Method in class org.xsocket.datagram.UserDatagram
transfer the data of the source channel to this data sink by using the default chunk size
transferFrom(ReadableByteChannel, int) - Method in class org.xsocket.datagram.UserDatagram
 
transferFrom(FileChannel) - Method in interface org.xsocket.IDataSink
transfer the data of the source file channel to this data sink
transferFrom(ReadableByteChannel) - Method in interface org.xsocket.IDataSink
transfer the data of the source channel to this data sink by using the default chunk size
transferFrom(ReadableByteChannel, int) - Method in interface org.xsocket.IDataSink
transfer the data of the source channel to this data sink
transferTo(WritableByteChannel, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
transfer the data of the this source channel to the given data sink
transferTo(WritableByteChannel, int) - Method in class org.xsocket.connection.BlockingConnection
transfer the data of the this source channel to the given data sink
transferTo(WritableByteChannel, int) - Method in class org.xsocket.datagram.UserDatagram
 
transferTo(WritableByteChannel, int) - Method in interface org.xsocket.IDataSource
transfer the data of the this source channel to the given data sink

U

UNLIMITED - Static variable in interface org.xsocket.connection.INonBlockingConnection
 
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.connection.ConnectionUtils
validate, based on a leading int length field.
validateSufficientDatasizeByIntLengthField(INonBlockingConnection, boolean) - Static method in class org.xsocket.connection.ConnectionUtils
validate, based on a leading int length field, that enough data (getNumberOfAvailableBytes() >= length) is available.
valueOf(String) - Static method in enum org.xsocket.connection.IConnection.FlushMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xsocket.connection.IConnection.FlushMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(byte) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a byte to the data sink
write(byte...) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes bytes to the data sink
write(byte[], int, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes bytes to the data sink
write(short) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a short to the data sink
write(int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a int to the data sink
write(long) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a long to the data sink
write(double) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a double to the data sink
write(String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a message
write(String, String) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a message
write(List<ByteBuffer>) - Method in class org.xsocket.connection.AbstractNonBlockingStream
writes a list of bytes to the data sink
write(ByteBuffer[], int, int) - Method in class org.xsocket.connection.AbstractNonBlockingStream
see GatheringByteChannel.write(ByteBuffer[], int, int)
write(ByteBuffer[]) - Method in class org.xsocket.connection.AbstractNonBlockingStream
see GatheringByteChannel.write(ByteBuffer[])
write(ByteBuffer) - Method in class org.xsocket.connection.AbstractNonBlockingStream
WritableByteChannel.write(ByteBuffer)
write(byte) - Method in class org.xsocket.connection.BlockingConnection
writes a byte to the data sink
write(byte...) - Method in class org.xsocket.connection.BlockingConnection
writes bytes to the data sink
write(byte[], int, int) - Method in class org.xsocket.connection.BlockingConnection
writes bytes to the data sink
write(short) - Method in class org.xsocket.connection.BlockingConnection
writes a short to the data sink
write(int) - Method in class org.xsocket.connection.BlockingConnection
writes a int to the data sink
write(long) - Method in class org.xsocket.connection.BlockingConnection
writes a long to the data sink
write(double) - Method in class org.xsocket.connection.BlockingConnection
writes a double to the data sink
write(String) - Method in class org.xsocket.connection.BlockingConnection
writes a message
write(String, String) - Method in class org.xsocket.connection.BlockingConnection
write a message
write(ArrayList<ByteBuffer>) - Method in class org.xsocket.connection.BlockingConnection
write(List<ByteBuffer>) - Method in class org.xsocket.connection.BlockingConnection
writes a list of bytes to the data sink
write(ByteBuffer[]) - Method in class org.xsocket.connection.BlockingConnection
see GatheringByteChannel.write(ByteBuffer[])
write(ByteBuffer[], int, int) - Method in class org.xsocket.connection.BlockingConnection
see GatheringByteChannel.write(ByteBuffer[], int, int)
write(ByteBuffer) - Method in class org.xsocket.connection.BlockingConnection
see WritableByteChannel.write(ByteBuffer)
write(String, String) - Method in interface org.xsocket.connection.IBlockingConnection
write a message
write(String, String) - Method in interface org.xsocket.connection.INonBlockingConnection
write a message
write(byte) - Method in class org.xsocket.datagram.UserDatagram
writes a byte to the data sink
write(short) - Method in class org.xsocket.datagram.UserDatagram
writes a short to the data sink
write(byte...) - Method in class org.xsocket.datagram.UserDatagram
writes bytes to the data sink
write(byte[], int, int) - Method in class org.xsocket.datagram.UserDatagram
writes bytes to the data sink
write(ByteBuffer) - Method in class org.xsocket.datagram.UserDatagram
see WritableByteChannel.write(ByteBuffer)
write(ByteBuffer[]) - Method in class org.xsocket.datagram.UserDatagram
see GatheringByteChannel.write(ByteBuffer[])
write(ByteBuffer[], int, int) - Method in class org.xsocket.datagram.UserDatagram
see GatheringByteChannel.write(ByteBuffer[], int, int)
write(List<ByteBuffer>) - Method in class org.xsocket.datagram.UserDatagram
writes a list of bytes to the data sink
write(double) - Method in class org.xsocket.datagram.UserDatagram
writes a double to the data sink
write(int) - Method in class org.xsocket.datagram.UserDatagram
writes a int to the data sink
write(long) - Method in class org.xsocket.datagram.UserDatagram
writes a long to the data sink
write(String) - Method in class org.xsocket.datagram.UserDatagram
writes a message
write(String, String) - Method in class org.xsocket.datagram.UserDatagram
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
see WritableByteChannel.write(ByteBuffer)
write(ByteBuffer[]) - Method in interface org.xsocket.IDataSink
see GatheringByteChannel.write(ByteBuffer[])
write(ByteBuffer[], int, int) - Method in interface org.xsocket.IDataSink
see GatheringByteChannel.write(ByteBuffer[], int, int)
write(List<ByteBuffer>) - Method in interface org.xsocket.IDataSink
writes a list of bytes 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) - Method in interface org.xsocket.IDataSink
writes a message

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

Copyright 2008 xSocket.org