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

A

AbstractIoClient - Class in org.apache.mina.service.client
TODO
AbstractIoClient(IoHandlerExecutor) - Constructor for class org.apache.mina.service.client.AbstractIoClient
Create an new AbstractIoClient instance
AbstractIoFilter - Class in org.apache.mina.api
A convenient IoFilter implementation to be sub-classed for easier IoFilter implementation.
AbstractIoFilter() - Constructor for class org.apache.mina.api.AbstractIoFilter
 
AbstractIoFuture<V> - Class in org.apache.mina.util
An abstract implementation of IoFuture.
AbstractIoFuture() - Constructor for class org.apache.mina.util.AbstractIoFuture
 
AbstractIoFutureListener<V> - Class in org.apache.mina.api
Convenient base implementation for IoFutureListener. if something wrong happen the exception is rethrown, which will produce an exception caught event for the session
AbstractIoFutureListener() - Constructor for class org.apache.mina.api.AbstractIoFutureListener
 
AbstractIoHandler - Class in org.apache.mina.api
A convenient IoHandler implementation to be sub-classed for easier IoHandler implementation.
AbstractIoHandler() - Constructor for class org.apache.mina.api.AbstractIoHandler
 
AbstractIoServer - Class in org.apache.mina.service.server
Base implementation for IoServers.
AbstractIoServer(IoSessionConfig, IoHandlerExecutor) - Constructor for class org.apache.mina.service.server.AbstractIoServer
Create an new AbstractIoServer instance
AbstractIoService - Class in org.apache.mina.service
Base implementation for IoServices.
AbstractIoService(IoHandlerExecutor) - Constructor for class org.apache.mina.service.AbstractIoService
Create an AbstractIoService
AbstractIoService.ServiceState - Enum in org.apache.mina.service
The Service states
AbstractIoSession - Class in org.apache.mina.session
Base implementation of IoSession shared with all the different transports.
AbstractIoSession(IoService, IdleChecker) - Constructor for class org.apache.mina.session.AbstractIoSession
Create an IoSession with a unique identifier ( IoSession.getId()) and an associated IoService
AbstractIoSessionConfig - Class in org.apache.mina.session
Base class for session configuration.
AbstractIoSessionConfig() - Constructor for class org.apache.mina.session.AbstractIoSessionConfig
 
AbstractNioSession - Class in org.apache.mina.transport.nio
Common ancestor for NIO based IoSession implmentation.
AbstractNioSession(IoService, SelectableChannel, IdleChecker) - Constructor for class org.apache.mina.transport.nio.AbstractNioSession
 
AbstractTcpClient - Class in org.apache.mina.transport.tcp
Base class for TCP based Clients
AbstractTcpClient(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.tcp.AbstractTcpClient
Create an new AbsractTcpClient instance
AbstractTcpServer - Class in org.apache.mina.transport.tcp
Base class for TCP based Servers
AbstractTcpServer(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.tcp.AbstractTcpServer
Create an new AbsractTcpServer instance
AbstractTcpServer(TcpSessionConfig, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.tcp.AbstractTcpServer
Create an new AbsractTcpServer instance, with a specific configuration
AbstractUdpClient - Class in org.apache.mina.transport.udp
Base class for UDP based Clients
AbstractUdpClient(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.udp.AbstractUdpClient
Create an new AbsractUdpClient instance
AbstractUdpServer - Class in org.apache.mina.transport.udp
Base implementation for all the UDP servers.
AbstractUdpServer(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.udp.AbstractUdpServer
Create an new AbsractUdpServer instance
AbstractUdpServer(UdpSessionConfig, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.udp.AbstractUdpServer
Create an new AbsractUdpServer instance
Assert - Class in org.apache.mina.util
Provides methods to check preconditions.
assertNotNull(T, String) - Static method in class org.apache.mina.util.Assert
Returns value if it is not null.
AttributeKey<T> - Class in org.apache.mina.session
Represents the Key for an attribute-value of an IoSession.
AttributeKey(Class<T>, String) - Constructor for class org.apache.mina.session.AttributeKey
Creates a new AttributeKey with the given parameters.

B

bind(SocketAddress) - Method in interface org.apache.mina.api.IoServer
Binds to the specified local addresses and start to accept incoming connections.
bind(int) - Method in interface org.apache.mina.api.IoServer
Binds the server to the specified port.
bind(SocketAddress) - Method in class org.apache.mina.transport.bio.BioUdpServer
 
bind(int) - Method in class org.apache.mina.transport.bio.BioUdpServer
 
bind(int) - Method in class org.apache.mina.transport.nio.NioTcpServer
Binds the server to the specified port.
bind(SocketAddress) - Method in class org.apache.mina.transport.nio.NioTcpServer
Binds to the specified local addresses and start to accept incoming connections.
bind(int) - Method in class org.apache.mina.transport.nio.NioUdpServer
Binds the server to the specified port.
bind(SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpServer
Binds to the specified local addresses and start to accept incoming connections.
BioUdpServer - Class in org.apache.mina.transport.bio
A java blocking I/O based UDP server.
BioUdpServer() - Constructor for class org.apache.mina.transport.bio.BioUdpServer
Create an UDP server
BioUdpServer(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.bio.BioUdpServer
 
BioUdpServer(UdpSessionConfig, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.bio.BioUdpServer
 
BioUdpSession - Class in org.apache.mina.transport.bio
BioUdpSession(SocketAddress, BioUdpServer, IdleChecker) - Constructor for class org.apache.mina.transport.bio.BioUdpSession
 
ByteBufferDumper - Class in org.apache.mina.util
Utility class for smart dumping ByteBuffer
ByteBufferDumper() - Constructor for class org.apache.mina.util.ByteBufferDumper
 

C

callReadNextFilter(Object) - Method in interface org.apache.mina.filterchain.ReadFilterChainController
 
callReadNextFilter(Object) - Method in class org.apache.mina.session.AbstractIoSession
callWriteNextFilter(WriteRequest) - Method in interface org.apache.mina.filterchain.WriteFilterChainController
 
callWriteNextFilter(WriteRequest) - Method in class org.apache.mina.session.AbstractIoSession
process session message received event using the filter chain.
cancel(boolean) - Method in class org.apache.mina.util.AbstractIoFuture
cancelOwner(boolean) - Method in class org.apache.mina.session.DefaultWriteFuture
 
cancelOwner(boolean) - Method in class org.apache.mina.transport.ConnectFuture
 
cancelOwner(boolean) - Method in class org.apache.mina.util.AbstractIoFuture
Notify the owner of this future that a client is attempting to cancel.
cannotConnect(Exception) - Method in class org.apache.mina.transport.ConnectFuture
Can't connect
changeState(IoSession.SessionState) - Method in interface org.apache.mina.api.IoSession
Changes the session's state from the current state to a new state.
changeState(IoSession.SessionState) - Method in class org.apache.mina.session.AbstractIoSession
Changes the session's state from the current state to a new state.
channel - Variable in class org.apache.mina.transport.nio.AbstractNioSession
the NIO channel for this session
channelClose() - Method in class org.apache.mina.transport.nio.AbstractNioSession
Close the inner socket channel
channelClose() - Method in class org.apache.mina.transport.nio.NioTcpSession
Close the inner socket channel
channelClose() - Method in class org.apache.mina.transport.nio.NioUdpSession
Close the inner socket channel
close(boolean) - Method in interface org.apache.mina.api.IoSession
Closes this session immediately or after all queued write requests are flushed.
close(boolean) - Method in class org.apache.mina.transport.bio.BioUdpSession
Closes this session immediately or after all queued write requests are flushed.
close(boolean) - Method in class org.apache.mina.transport.nio.AbstractNioSession
Closes this session immediately or after all queued write requests are flushed.
CloseEvent - Class in org.apache.mina.service.executor
A session was closed event.
CloseEvent(IoSession) - Constructor for class org.apache.mina.service.executor.CloseEvent
 
complete() - Method in class org.apache.mina.session.DefaultWriteFuture
complete this future
complete(IoSession) - Method in class org.apache.mina.transport.ConnectFuture
session connected
completed(V) - Method in interface org.apache.mina.api.IoFutureListener
Called when the task has completed.
config - Variable in class org.apache.mina.service.AbstractIoService
the default session configuration
config - Variable in class org.apache.mina.session.AbstractIoSession
The session config
ConfigurationException - Exception in org.apache.mina.api
A RuntimeException thrown when something wrong happened during IoService or IoSession configuration.
ConfigurationException() - Constructor for exception org.apache.mina.api.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception org.apache.mina.api.ConfigurationException
 
ConfigurationException(String) - Constructor for exception org.apache.mina.api.ConfigurationException
 
ConfigurationException(Throwable) - Constructor for exception org.apache.mina.api.ConfigurationException
 
connect(SocketAddress) - Method in interface org.apache.mina.api.IoClient
Connects to the specified remote address.
connect(SocketAddress) - Method in class org.apache.mina.transport.bio.BioUdpServer
 
connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioTcpClient
Connects to the specified remote address.
connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpClient
Connects to the specified remote address.
connect(SocketAddress, SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpClient
Connects to the specified remote address binding to the specified local address.
connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpServer
 
connect(SocketAddress, SocketAddress) - Method in class org.apache.mina.transport.udp.AbstractUdpClient
Connects to the specified remote address binding to the specified local address.
ConnectFuture - Class in org.apache.mina.transport
Future for waiting session connection.
ConnectFuture() - Constructor for class org.apache.mina.transport.ConnectFuture
 
convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.AbstractNioSession
Copy the HeapBuffer into a DirectBuffer, if needed.
convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.NioTcpSession
Copy the HeapBuffer into a DirectBuffer, if needed.
convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.NioUdpSession
Copy the HeapBuffer into a DirectBuffer, if needed.
createKey(Class<T>, String) - Static method in class org.apache.mina.session.AttributeKey
Creates a new AttributeKey with the given parameters.

D

DefaultTcpSessionConfig - Class in org.apache.mina.transport.tcp
Implementation for the socket session configuration.
DefaultTcpSessionConfig() - Constructor for class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
 
DefaultUdpSessionConfig - Class in org.apache.mina.transport.udp
Implementation for the UDP session configuration.
DefaultUdpSessionConfig() - Constructor for class org.apache.mina.transport.udp.DefaultUdpSessionConfig
 
DefaultWriteFuture - Class in org.apache.mina.session
The default implementation for the IoFuture returned by IoSession.writeWithFuture(Object)
DefaultWriteFuture() - Constructor for class org.apache.mina.session.DefaultWriteFuture
 
DefaultWriteQueue - Class in org.apache.mina.session
The default implementation of the WriteRequest queue for storing writes to process in the IoSession.
DefaultWriteQueue() - Constructor for class org.apache.mina.session.DefaultWriteQueue
 
DefaultWriteRequest - Class in org.apache.mina.session
Default implementation for write requests.
DefaultWriteRequest(Object) - Constructor for class org.apache.mina.session.DefaultWriteRequest
Creates a new instance of a WriteRequest, storing the message as it was when the IoSession.write() has been called.
destroy() - Method in interface org.apache.mina.service.idlechecker.IdleChecker
Stop the idle checker.
destroy() - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
Stop the idle checker.
disconnect() - Method in class org.apache.mina.transport.nio.NioTcpClient
done(SelectionKey) - Method in interface org.apache.mina.transport.nio.RegistrationCallback
 
dump(ByteBuffer, int, boolean) - Static method in class org.apache.mina.util.ByteBufferDumper
Dump the content of the given ByteBuffer, up to a number of bytes.
dump(ByteBuffer) - Static method in class org.apache.mina.util.ByteBufferDumper
Dumps the given buffer.

E

enqueueWriteRequest(WriteRequest) - Method in interface org.apache.mina.api.IoSession
Internal method for enqueue write request after filter chain processing
enqueueWriteRequest(WriteRequest) - Method in class org.apache.mina.transport.bio.BioUdpSession
Internal method for enqueue write request after filter chain processing
enqueueWriteRequest(WriteRequest) - Method in class org.apache.mina.transport.nio.AbstractNioSession
Internal method for enqueue write request after filter chain processing
equals(Object) - Method in class org.apache.mina.session.AttributeKey
 
error(Exception) - Method in class org.apache.mina.transport.ConnectFuture
connection error
Event - Interface in org.apache.mina.service.executor
A IoHandler event to be submitted to an IoHandlerExecutor.
EventVisitor - Interface in org.apache.mina.service.executor
Implement this interface for implementing different behavior on different Event.
exception(Throwable) - Method in class org.apache.mina.api.AbstractIoFutureListener
Called if there was an exception by the task as it was executing.
exception(Throwable) - Method in interface org.apache.mina.api.IoFutureListener
Called if there was an exception by the task as it was executing.
exceptionCaught(IoSession, Exception) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when any runtime exception is thrown during session processing (filters, unexpected error, etc..).
exceptionCaught(IoSession, Exception) - Method in interface org.apache.mina.api.IoHandler
Invoked when any runtime exception is thrown during session processing (filters, unexpected error, etc..).
execute(Event) - Method in interface org.apache.mina.service.executor.IoHandlerExecutor
execute a given event
execute(Event) - Method in class org.apache.mina.service.executor.OrderedHandlerExecutor
execute a given event
execute(Event) - Method in class org.apache.mina.service.executor.UnorderHandlerExecutor
 

F

fireServiceActivated() - Method in class org.apache.mina.service.AbstractIoService
Inform all current the listeners of the service activation.
fireServiceInactivated() - Method in class org.apache.mina.service.AbstractIoService
Inform all current the listeners of the service desactivation.
FixedSelectorLoopPool - Class in org.apache.mina.transport.nio
A fixed size pool of SelectorLoop.
FixedSelectorLoopPool(String, int) - Constructor for class org.apache.mina.transport.nio.FixedSelectorLoopPool
Create a pool of "size" SelectorLoop
flushWriteQueue() - Method in class org.apache.mina.transport.nio.AbstractNioSession
 
flushWriteQueue() - Method in class org.apache.mina.transport.nio.NioTcpSession
flushWriteQueue() - Method in class org.apache.mina.transport.nio.NioUdpSession
fromHexString(String) - Static method in class org.apache.mina.util.ByteBufferDumper
 

G

get() - Method in class org.apache.mina.util.AbstractIoFuture
get(long, TimeUnit) - Method in class org.apache.mina.util.AbstractIoFuture
getAcceptKey() - Method in class org.apache.mina.transport.nio.NioTcpServer
 
getAttribute(AttributeKey<T>, T) - Method in interface org.apache.mina.api.IoSession
Returns the value of the user-defined attribute for the given key.If the there is no attribute with the specified key the defaultValue will be returned.
getAttribute(AttributeKey<T>) - Method in interface org.apache.mina.api.IoSession
Returns the value of the user-defined attribute for the given key.If the there is no attribute with the specified key null will be returned.
getAttribute(AttributeKey<T>, T) - Method in class org.apache.mina.session.AbstractIoSession
Returns the value of the user-defined attribute for the given key.If the there is no attribute with the specified key the defaultValue will be returned.
getAttribute(AttributeKey<T>) - Method in class org.apache.mina.session.AbstractIoSession
Returns the value of the user-defined attribute for the given key.If the there is no attribute with the specified key null will be returned.
getAttributeKeys() - Method in interface org.apache.mina.api.IoSession
Returns an unmodifiable Set of all Keys of this IoSession.
getAttributeKeys() - Method in class org.apache.mina.session.AbstractIoSession
Returns an unmodifiable Set of all Keys of this IoSession.
getBoundAddress() - Method in interface org.apache.mina.api.IoServer
Returns the local addresses which are bound currently.
getBoundAddress() - Method in class org.apache.mina.transport.bio.BioUdpServer
 
getBoundAddress() - Method in class org.apache.mina.transport.nio.NioTcpServer
Returns the local addresses which are bound currently.
getBoundAddress() - Method in class org.apache.mina.transport.nio.NioUdpServer
Returns the local addresses which are bound currently.
getConfig() - Method in interface org.apache.mina.api.IoSession
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
getConfig() - Method in class org.apache.mina.transport.bio.BioUdpSession
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
getConfig() - Method in class org.apache.mina.transport.nio.NioTcpSession
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
getConfig() - Method in class org.apache.mina.transport.nio.NioUdpSession
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
getConnectTimeoutMillis() - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
Returns the connect timeout in milliseconds.
getCreationTime() - Method in interface org.apache.mina.api.IoSession
The session's creation time.
getCreationTime() - Method in class org.apache.mina.session.AbstractIoSession
The session's creation time.
getDatagramChannel() - Method in class org.apache.mina.transport.bio.BioUdpServer
 
getDatagramChannel() - Method in class org.apache.mina.transport.nio.NioUdpServer
Get the inner datagram channel for read and write operations.
getFilters() - Method in interface org.apache.mina.api.IoService
Get the list of filters installed on this service
getFilters() - Method in class org.apache.mina.service.AbstractIoService
Get the list of filters installed on this service
getFuture() - Method in class org.apache.mina.session.DefaultWriteRequest
The future to be completed on a write success
getFuture() - Method in interface org.apache.mina.session.WriteRequest
The future to be completed on a write success
getId() - Method in interface org.apache.mina.api.IoSession
The unique identifier of this session.
getId() - Method in class org.apache.mina.session.AbstractIoSession
The unique identifier of this session.
getIdleStatus() - Method in class org.apache.mina.service.executor.IdleEvent
 
getIdleTimeInMillis(IdleStatus) - Method in interface org.apache.mina.api.IoSessionConfig
Returns idle time for the specified type of idleness in milli-seconds.
getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Returns idle time for the specified type of idleness in milli-seconds.
getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Returns idle time for the specified type of idleness in milli-seconds.
getIoHandler() - Method in interface org.apache.mina.api.IoService
Get the IoHandler in charge of your business logic for this service.
getIoHandler() - Method in class org.apache.mina.service.AbstractIoService
Get the IoHandler in charge of your business logic for this service.
getIoHandlerExecutor() - Method in interface org.apache.mina.api.IoService
Get the IoHandlerExecutor used for executing IoHandler events in another pool of thread (not in the low level I/O one).
getIoHandlerExecutor() - Method in class org.apache.mina.service.AbstractIoService
Get the IoHandlerExecutor used for executing IoHandler events in another pool of thread (not in the low level I/O one).
getLastIoTime() - Method in interface org.apache.mina.api.IoSession
Returns the time in millisecond when I/O occurred lastly (either read or write).
getLastIoTime() - Method in class org.apache.mina.session.AbstractIoSession
Returns the time in millisecond when I/O occurred lastly (either read or write).
getLastReadTime() - Method in interface org.apache.mina.api.IoSession
Returns the time in millisecond when the last I/O read occurred.
getLastReadTime() - Method in class org.apache.mina.session.AbstractIoSession
Returns the time in millisecond when the last I/O read occurred.
getLastWriteTime() - Method in interface org.apache.mina.api.IoSession
Returns the time in millisecond when the last I/O write occurred.
getLastWriteTime() - Method in class org.apache.mina.session.AbstractIoSession
Returns the time in millisecond when the last I/O write occurred.
getLevel() - Method in enum org.apache.mina.filter.logging.LogLevel
 
getLocalAddress() - Method in interface org.apache.mina.api.IoSession
Gets the local address of the local peer.
getLocalAddress() - Method in class org.apache.mina.transport.bio.BioUdpSession
Gets the local address of the local peer.
getLocalAddress() - Method in class org.apache.mina.transport.nio.NioTcpSession
Gets the local address of the local peer.
getLocalAddress() - Method in class org.apache.mina.transport.nio.NioUdpSession
Gets the local address of the local peer.
getManagedSessions() - Method in interface org.apache.mina.api.IoService
Returns the map of all sessions which are currently managed by this service.
getManagedSessions() - Method in class org.apache.mina.service.AbstractIoService
Returns the map of all sessions which are currently managed by this service.
getMessage() - Method in class org.apache.mina.service.executor.ReceiveEvent
 
getMessage() - Method in class org.apache.mina.service.executor.SentEvent
 
getMessage() - Method in class org.apache.mina.session.DefaultWriteRequest
Get the message stored for this request.
getMessage() - Method in interface org.apache.mina.session.WriteRequest
Get the message stored for this request.
getMessageReceivedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the MessageReceived event.
getMessageSentLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the messageSent event.
getMessageWritingLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the MessageWriting event.
getName() - Method in class org.apache.mina.session.AttributeKey
Returns the name of this key.
getOriginalMessage() - Method in class org.apache.mina.session.DefaultWriteRequest
Gets the original message, as written by the handler, before passing through the filter chain.
getOriginalMessage() - Method in interface org.apache.mina.session.WriteRequest
Gets the original message, as written by the handler, before passing through the filter chain.
getReadBufferSize() - Method in interface org.apache.mina.api.IoSessionConfig
Returns the size of the read buffer that I/O processor allocates per each read.
getReadBufferSize() - Method in class org.apache.mina.session.AbstractIoSessionConfig
Returns the size of the read buffer that I/O processor allocates per each read.
getReadBufferSize() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Returns the size of the read buffer that I/O processor allocates per each read.
getReadBytes() - Method in interface org.apache.mina.api.IoSession
Gets the total number of bytes read for this session since it was created.
getReadBytes() - Method in class org.apache.mina.session.AbstractIoSession
Gets the total number of bytes read for this session since it was created.
getReadKey() - Method in class org.apache.mina.transport.nio.NioUdpServer
 
getRemoteAddress() - Method in interface org.apache.mina.api.IoSession
Returns the socket address of remote peer.
getRemoteAddress() - Method in class org.apache.mina.transport.bio.BioUdpSession
Returns the socket address of remote peer.
getRemoteAddress() - Method in class org.apache.mina.transport.nio.NioTcpSession
Returns the socket address of remote peer.
getRemoteAddress() - Method in class org.apache.mina.transport.nio.NioUdpSession
Returns the socket address of remote peer.
getSelectorLoop() - Method in class org.apache.mina.transport.nio.FixedSelectorLoopPool
Get a SelectorLoop from the pool
getSelectorLoop() - Method in interface org.apache.mina.transport.nio.SelectorLoopPool
Get a SelectorLoop from the pool
getSendBufferSize() - Method in interface org.apache.mina.api.IoSessionConfig
 
getSendBufferSize() - Method in class org.apache.mina.session.AbstractIoSessionConfig
getSendBufferSize() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
getServerSocketChannel() - Method in class org.apache.mina.transport.nio.NioTcpServer
Get the inner Server socket for accepting new client connections
getService() - Method in interface org.apache.mina.api.IoSession
Gets the service this session is attached to.
getService() - Method in class org.apache.mina.session.AbstractIoSession
Gets the service this session is attached to.
getSession() - Method in class org.apache.mina.service.executor.CloseEvent
The session of this event.
getSession() - Method in interface org.apache.mina.service.executor.Event
The session of this event.
getSession() - Method in class org.apache.mina.service.executor.IdleEvent
The session of this event.
getSession() - Method in class org.apache.mina.service.executor.OpenEvent
The session of this event.
getSession() - Method in class org.apache.mina.service.executor.ReceiveEvent
The session of this event.
getSession() - Method in class org.apache.mina.service.executor.SentEvent
The session of this event.
getSessionClosedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the SessionClosed event.
getSessionConfig() - Method in interface org.apache.mina.api.IoService
Returns the default configuration of the new IoSessions created by this service.
getSessionConfig() - Method in class org.apache.mina.service.server.AbstractIoServer
Returns the default configuration of the new IoSessions created by this service.
getSessionConfig() - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
Returns the default configuration of the new IoSessions created by this service.
getSessionConfig() - Method in class org.apache.mina.transport.tcp.AbstractTcpServer
Returns the default configuration of the new IoSessions created by this service.
getSessionConfig() - Method in class org.apache.mina.transport.udp.AbstractUdpClient
Returns the default configuration of the new IoSessions created by this service.
getSessionConfig() - Method in class org.apache.mina.transport.udp.AbstractUdpServer
Returns the default configuration of the new IoSessions created by this service.
getSessionIdleLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the SessionIdle event.
getSessionOpenedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
Get the LogLevel for the SessionOpened event.
getSoLinger() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
getSoLinger() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
getSoLinger() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
getSslContext() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
getSslContext() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
 
getSslContext() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
getTimeout() - Method in interface org.apache.mina.api.IoSessionConfig
Get the SO_TIMEOUT set for this socket
getTimeout() - Method in class org.apache.mina.session.AbstractIoSessionConfig
Get the SO_TIMEOUT set for this socket
getTimeout() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Get the SO_TIMEOUT set for this socket
getTrafficClass() - Method in interface org.apache.mina.api.IoSessionConfig
 
getTrafficClass() - Method in class org.apache.mina.session.AbstractIoSessionConfig
getTrafficClass() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
getType() - Method in class org.apache.mina.session.AttributeKey
Returns the type of this key.
getValue() - Method in enum org.apache.mina.session.TrafficClassEnum
 
getWriteQueue() - Method in class org.apache.mina.transport.nio.AbstractNioSession
Get the Queue of this session.
getWrittenBytes() - Method in interface org.apache.mina.api.IoSession
Gets the total number of bytes written for this session since it was created.
getWrittenBytes() - Method in class org.apache.mina.session.AbstractIoSession
Gets the total number of bytes written for this session since it was created.

H

hashCode() - Method in class org.apache.mina.session.AttributeKey
 

I

IdleChecker - Interface in org.apache.mina.service.idlechecker
Utility for checking detecting idle sessions.
idleChecker - Variable in class org.apache.mina.session.AbstractIoSession
the IdleChecker in charge of detecting idle event for this session
IdleEvent - Class in org.apache.mina.service.executor
An IoSession is idle (no sent or receive events)
IdleEvent(IoSession, IdleStatus) - Constructor for class org.apache.mina.service.executor.IdleEvent
 
IdleStatus - Enum in org.apache.mina.api
Represents the type of idleness of IoSession.
incrementWrittenBytes(int) - Method in class org.apache.mina.session.AbstractIoSession
To be called by the internal plumber when some bytes are written on the socket
IndexedIdleChecker - Class in org.apache.mina.service.idlechecker
An session idle detector using an index in place of polling every session every seconds.
IndexedIdleChecker() - Constructor for class org.apache.mina.service.idlechecker.IndexedIdleChecker
 
init() - Method in class org.apache.mina.transport.nio.SslHelper
Initialize the SSL handshake.
initSecure(SSLContext) - Method in interface org.apache.mina.api.IoSession
Initializes the SSL/TLS environment for this session.
initSecure(SSLContext) - Method in class org.apache.mina.session.AbstractIoSession
Initializes the SSL/TLS environment for this session.
initSecured(IoSession) - Method in class org.apache.mina.transport.udp.AbstractUdpServer
initState() - Method in class org.apache.mina.service.AbstractIoService
Initialize the IoService state
IoClient - Interface in org.apache.mina.api
Connects to several end-points, communicates with the server, and fires events to org.apache.mina.service.IoHandlers.
IoFilter - Interface in org.apache.mina.api
Filter are interceptors/processors for incoming data received/sent.
IoFuture<V> - Interface in org.apache.mina.api
A simple extension that allows listeners to register and receive results asynchronously via registered listeners.
IoFutureListener<V> - Interface in org.apache.mina.api
A listener that asynchronously receives the result of a future computation.
IoHandler - Interface in org.apache.mina.api
Handle all the I/O events generated by a IoService.
ioHandlerExecutor - Variable in class org.apache.mina.service.AbstractIoService
used for executing IoHandler event in another pool of thread (not in the low level I/O one)
IoHandlerExecutor - Interface in org.apache.mina.service.executor
A class in charge of executing IoHandler related events.
IoServer - Interface in org.apache.mina.api
A network server bound to a local address.
IoService - Interface in org.apache.mina.api
Base interface for all IoServers and IoClients that provide I/O service and manage IoSession s.
IoSession - Interface in org.apache.mina.api
A handle which represents a connection between two end-points regardless of transport types.
IoSession.SessionState - Enum in org.apache.mina.api
State of a IoSession
IoSessionConfig - Interface in org.apache.mina.api
The configuration of IoSession.
isActive() - Method in class org.apache.mina.service.AbstractIoService
 
isBroadcast() - Method in class org.apache.mina.transport.udp.DefaultUdpSessionConfig
isBroadcast() - Method in interface org.apache.mina.transport.udp.UdpSessionConfig
 
isCancelled() - Method in class org.apache.mina.util.AbstractIoFuture
isClosed() - Method in interface org.apache.mina.api.IoSession
Tells if the session is currently closed.
isClosed() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is currently closed.
isClosing() - Method in interface org.apache.mina.api.IoSession
Tells if the session is being closed.
isClosing() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is being closed.
isConnected() - Method in interface org.apache.mina.api.IoSession
Tells if the session is currently connected and able to process incoming requests and to send outgoing responses.
isConnected() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is currently connected and able to process incoming requests and to send outgoing responses.
isConnectedSecured() - Method in interface org.apache.mina.api.IoSession
Tells if the session is using SSL/TLS.
isConnectedSecured() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is using SSL/TLS.
isCreated() - Method in interface org.apache.mina.api.IoSession
Tells if the session is created.
isCreated() - Method in class org.apache.mina.service.AbstractIoService
 
isCreated() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is created.
isDisposed() - Method in class org.apache.mina.service.AbstractIoService
 
isDisposing() - Method in class org.apache.mina.service.AbstractIoService
 
isDone() - Method in class org.apache.mina.util.AbstractIoFuture
isKeepAlive() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
isKeepAlive() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
isKeepAlive() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
isOobInline() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
isOobInline() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
isOobInline() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
isReadSuspended() - Method in interface org.apache.mina.api.IoSession
Is read operation is suspended for this session.
isReadSuspended() - Method in class org.apache.mina.transport.bio.BioUdpSession
Is read operation is suspended for this session.
isReadSuspended() - Method in class org.apache.mina.transport.nio.NioTcpSession
Is read operation is suspended for this session.
isReadSuspended() - Method in class org.apache.mina.transport.nio.NioUdpSession
Is read operation is suspended for this session.
isRegisteredForWrite() - Method in class org.apache.mina.transport.nio.AbstractNioSession
 
isReuseAddress() - Method in interface org.apache.mina.api.IoSessionConfig
 
isReuseAddress() - Method in class org.apache.mina.service.server.AbstractIoServer
Is the reuse address enabled for this server.
isReuseAddress() - Method in class org.apache.mina.session.AbstractIoSessionConfig
isReuseAddress() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
isSecured() - Method in interface org.apache.mina.api.IoSession
Tells if the session is belonging to a secured connection.
isSecured() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is belonging to a secured connection.
isSecured() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
Tells if the session provides some encryption (SSL/TLS)
isSecured() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Tells if the session provides some encryption (SSL/TLS)
isSecured() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
Tells if the session provides some encryption (SSL/TLS)
isSecuring() - Method in interface org.apache.mina.api.IoSession
Tells if the session is processing a SSL/TLS handshake.
isSecuring() - Method in class org.apache.mina.session.AbstractIoSession
Tells if the session is processing a SSL/TLS handshake.
isSuspended() - Method in class org.apache.mina.service.AbstractIoService
 
isTcpNoDelay() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
isTcpNoDelay() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
isTcpNoDelay() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
isWriteSuspended() - Method in interface org.apache.mina.api.IoSession
Is write operation is suspended for this session.
isWriteSuspended() - Method in class org.apache.mina.transport.bio.BioUdpSession
Is write operation is suspended for this session.
isWriteSuspended() - Method in class org.apache.mina.transport.nio.NioTcpSession
Is write operation is suspended for this session.
isWriteSuspended() - Method in class org.apache.mina.transport.nio.NioUdpSession
Is write operation is suspended for this session.

L

LoggingFilter - Class in org.apache.mina.filter.logging
A simple filter logging incoming events.
LoggingFilter() - Constructor for class org.apache.mina.filter.logging.LoggingFilter
Default Constructor.
LoggingFilter(Class<?>) - Constructor for class org.apache.mina.filter.logging.LoggingFilter
Create a new LoggingFilter using a class name
LoggingFilter(String) - Constructor for class org.apache.mina.filter.logging.LoggingFilter
Create a new LoggingFilter using a name
LogLevel - Enum in org.apache.mina.filter.logging
Defines a logging level.

M

messageReceived(IoSession, Object, ReadFilterChainController) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked when a message is received.
messageReceived(IoSession, Object) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a message is received.
messageReceived(IoSession, Object, ReadFilterChainController) - Method in interface org.apache.mina.api.IoFilter
Invoked when a message is received.
messageReceived(IoSession, Object) - Method in interface org.apache.mina.api.IoHandler
Invoked when a message is received.
messageReceived(IoSession, Object, ReadFilterChainController) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
Process the incoming message, calling the session decoder.
messageReceived(IoSession, Object, ReadFilterChainController) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked when a message is received.
messageReceived(IoSession, Object, ReadFilterChainController) - Method in class org.apache.mina.filter.query.RequestFilter
 
messageSent(IoSession, Object) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked when a high level message was written to the low level O/S buffer.
messageSent(IoSession, Object) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a high level message was written to the low level O/S buffer.
messageSent(IoSession, Object) - Method in interface org.apache.mina.api.IoFilter
Invoked when a high level message was written to the low level O/S buffer.
messageSent(IoSession, Object) - Method in interface org.apache.mina.api.IoHandler
Invoked when a high level message was written to the low level O/S buffer.
messageSent(IoSession, Object) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked when a high level message was written to the low level O/S buffer.
messageWriting(IoSession, WriteRequest, WriteFilterChainController) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked when a message is under writing.
messageWriting(IoSession, WriteRequest, WriteFilterChainController) - Method in interface org.apache.mina.api.IoFilter
Invoked when a message is under writing.
messageWriting(IoSession, WriteRequest, WriteFilterChainController) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
Invoked when a message is under writing.
messageWriting(IoSession, WriteRequest, WriteFilterChainController) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked when a message is under writing.
MinaRuntimeException - Exception in org.apache.mina.api
Something very wrong happened in the low level part of I/O processing.
MinaRuntimeException() - Constructor for exception org.apache.mina.api.MinaRuntimeException
 
MinaRuntimeException(String, Throwable) - Constructor for exception org.apache.mina.api.MinaRuntimeException
 
MinaRuntimeException(String) - Constructor for exception org.apache.mina.api.MinaRuntimeException
 
MinaRuntimeException(Throwable) - Constructor for exception org.apache.mina.api.MinaRuntimeException
 
modifyRegistration(boolean, boolean, boolean, SelectorListener, SelectableChannel, boolean) - Method in class org.apache.mina.transport.nio.NioSelectorLoop
modifyRegistration(boolean, boolean, boolean, SelectorListener, SelectableChannel, boolean) - Method in interface org.apache.mina.transport.nio.SelectorLoop
 

N

NEED_CLIENT_AUTH - Static variable in class org.apache.mina.transport.nio.SslHelper
 
NioSelectorLoop - Class in org.apache.mina.transport.nio
This class holds a Selector and handle all the incoming events for the sessions registered on this selector.ALl the events will be processed by some dedicated thread, taken from a pool.
NioSelectorLoop(String) - Constructor for class org.apache.mina.transport.nio.NioSelectorLoop
Creates an instance of the SelectorLoop.
NioSelectorLoop(String, int) - Constructor for class org.apache.mina.transport.nio.NioSelectorLoop
Creates an instance of the SelectorLoop.
NioTcpClient - Class in org.apache.mina.transport.nio
This class implements a TCP NIO based client.
NioTcpClient() - Constructor for class org.apache.mina.transport.nio.NioTcpClient
Create a TCP client with new selector pool of default size and a IoHandlerExecutor of default type ( OrderedHandlerExecutor)
NioTcpClient(SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpClient
Create a TCP client with provided selector loops pool.
NioTcpClient(SelectorLoop, SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpClient
Create a TCP client with provided selector loops pool
NioTcpServer - Class in org.apache.mina.transport.nio
This class implements a TCP NIO based server.
NioTcpServer() - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with new selector pool of default size and a IoHandlerExecutor of default type ( OrderedHandlerExecutor)
NioTcpServer(TcpSessionConfig) - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with new selector pool of default size and a IoHandlerExecutor of default type ( OrderedHandlerExecutor)
NioTcpServer(SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with provided selector loops pool.
NioTcpServer(TcpSessionConfig, SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with provided selector loops pool.
NioTcpServer(SelectorLoop, SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with provided selector loops pool
NioTcpServer(TcpSessionConfig, SelectorLoop, SelectorLoopPool, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioTcpServer
Create a TCP server with provided selector loops pool
NioTcpSession - Class in org.apache.mina.transport.nio
A NIO based TCP session, should be used by NioTcpServer and NioTcpClient.
NioUdpClient - Class in org.apache.mina.transport.nio
This class implements a UDP NIO based client.
NioUdpClient() - Constructor for class org.apache.mina.transport.nio.NioUdpClient
Create a new instance of NioUdpClient
NioUdpClient(IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioUdpClient
Create a new instance of NioUdpClient
NioUdpServer - Class in org.apache.mina.transport.nio
This class implements a UDP NIO based server.
NioUdpServer() - Constructor for class org.apache.mina.transport.nio.NioUdpServer
Create an UDP server with a new selector pool of default size and a IoHandlerExecutor of default type ( OrderedHandlerExecutor)
NioUdpServer(UdpSessionConfig) - Constructor for class org.apache.mina.transport.nio.NioUdpServer
Create an UDP server with a new selector pool of default size and a IoHandlerExecutor of default type ( OrderedHandlerExecutor)
NioUdpServer(SelectorLoop, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioUdpServer
Create an UDP server with provided selector loops pool
NioUdpServer(UdpSessionConfig, SelectorLoop, IoHandlerExecutor) - Constructor for class org.apache.mina.transport.nio.NioUdpServer
Create an UDP server with provided selector loops pool
NioUdpSession - Class in org.apache.mina.transport.nio
A UDP session based on NIO

O

OpenEvent - Class in org.apache.mina.service.executor
OpenEvent(IoSession) - Constructor for class org.apache.mina.service.executor.OpenEvent
 
OrderedHandlerExecutor - Class in org.apache.mina.service.executor
Use this executor if you want the IoHandler events of a session to be executed in order and on the same thread.
OrderedHandlerExecutor(int, int) - Constructor for class org.apache.mina.service.executor.OrderedHandlerExecutor
Create an OrderedHandlerExecutor with a given number of thread and a given queue size.
org.apache.mina.api - package org.apache.mina.api
Base API for the MINA library.
org.apache.mina.filter.codec - package org.apache.mina.filter.codec
 
org.apache.mina.filter.logging - package org.apache.mina.filter.logging
 
org.apache.mina.filter.query - package org.apache.mina.filter.query
 
org.apache.mina.filterchain - package org.apache.mina.filterchain
 
org.apache.mina.service - package org.apache.mina.service
 
org.apache.mina.service.client - package org.apache.mina.service.client
 
org.apache.mina.service.executor - package org.apache.mina.service.executor
Classes in charge of decoupling IoHandler event of the low level read/write/accept I/O threads ( SelectorLoop ).
org.apache.mina.service.idlechecker - package org.apache.mina.service.idlechecker
 
org.apache.mina.service.server - package org.apache.mina.service.server
 
org.apache.mina.session - package org.apache.mina.session
 
org.apache.mina.transport - package org.apache.mina.transport
 
org.apache.mina.transport.bio - package org.apache.mina.transport.bio
Transport implementation base on blocking I/O Socket
org.apache.mina.transport.nio - package org.apache.mina.transport.nio
Transport implementations base on NIO (New I/O), Channel
org.apache.mina.transport.tcp - package org.apache.mina.transport.tcp
Shared plumber for TCP transport implementations.
org.apache.mina.transport.udp - package org.apache.mina.transport.udp
Shared plumber UDP transport implementations.
org.apache.mina.util - package org.apache.mina.util
 

P

PEER_ADDRESS - Static variable in class org.apache.mina.transport.nio.SslHelper
A session attribute key that should be set to an InetSocketAddress.
processException(Exception) - Method in class org.apache.mina.session.AbstractIoSession
send a caught exception to the IoHandler (if any)
processIdleSession(long) - Method in interface org.apache.mina.service.idlechecker.IdleChecker
Find idle session, to be called for each select() call.
processIdleSession(long) - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
Find idle session, to be called for each select() call.
processMessageReceived(ByteBuffer) - Method in class org.apache.mina.session.AbstractIoSession
process session message received event using the filter chain.
processMessageSent(Object) - Method in class org.apache.mina.session.AbstractIoSession
 
processMessageWriting(WriteRequest, IoFuture<Void>) - Method in class org.apache.mina.session.AbstractIoSession
process session message writing event using the filter chain.
processRead(AbstractIoSession, ByteBuffer) - Method in class org.apache.mina.transport.nio.SslHelper
Process a read ByteBuffer over a secured connection, or during the SSL/TLS Handshake.
processSessionClosed() - Method in class org.apache.mina.session.AbstractIoSession
process session closed event using the filter chain.
processSessionIdle(IdleStatus) - Method in class org.apache.mina.session.AbstractIoSession
process session idle event using the filter chain.
processSessionOpen() - Method in class org.apache.mina.session.AbstractIoSession
process session open event using the filter chain.
processWrite(SelectorLoop) - Method in class org.apache.mina.transport.nio.AbstractNioSession
Process a write operation.
ProtocolCodecFilter<MESSAGE,ENCODED,ENCODING_STATE,DECODING_STATE> - Class in org.apache.mina.filter.codec
An IoFilter which translates binary or protocol specific data into message objects and vice versa using ProtocolCodecFactory, ProtocolEncoder, or ProtocolDecoder.
ProtocolCodecFilter(ProtocolEncoder<MESSAGE, ENCODED, ENCODING_STATE>, ProtocolDecoder<ENCODED, MESSAGE, DECODING_STATE>) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
Creates a new instance of ProtocolCodecFilter, with the specified encoder and decoder.
ProxyTcpSessionConfig - Class in org.apache.mina.transport.tcp
This class proxy the inner java.net.Socket configuration with the SocketSessionConfig of the session.
ProxyTcpSessionConfig(Socket) - Constructor for class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
 

R

ReadFilterChainController - Interface in org.apache.mina.filterchain
Chain controller used by a filter for calling the next filter in read order.
ready(boolean, boolean, boolean, ByteBuffer, boolean) - Method in class org.apache.mina.transport.nio.NioTcpServer
ready(boolean, boolean, boolean, ByteBuffer, boolean) - Method in class org.apache.mina.transport.nio.NioTcpSession
ready(boolean, boolean, boolean, ByteBuffer, boolean) - Method in class org.apache.mina.transport.nio.NioUdpServer
ready(boolean, boolean, boolean, ByteBuffer, boolean) - Method in class org.apache.mina.transport.nio.NioUdpSession
 
ready(boolean, boolean, boolean, ByteBuffer, boolean) - Method in interface org.apache.mina.transport.nio.SelectorListener
 
ReceiveEvent - Class in org.apache.mina.service.executor
A IoSession received a message Event.
ReceiveEvent(IoSession, Object) - Constructor for class org.apache.mina.service.executor.ReceiveEvent
 
register(IoFutureListener<V>) - Method in interface org.apache.mina.api.IoFuture
Register a listener to asynchronously receive the results of the future computation.
register(boolean, boolean, boolean, boolean, SelectorListener, SelectableChannel, RegistrationCallback) - Method in class org.apache.mina.transport.nio.NioSelectorLoop
Register a channel on a Selector, for some events.
register(boolean, boolean, boolean, boolean, SelectorListener, SelectableChannel, RegistrationCallback) - Method in interface org.apache.mina.transport.nio.SelectorLoop
Register a channel on a Selector, for some events.
register(IoFutureListener<V>) - Method in class org.apache.mina.util.AbstractIoFuture
Register a listener to asynchronously receive the results of the future computation.
RegistrationCallback - Interface in org.apache.mina.transport.nio
To be used with NioSelectorLoop for being informed when the SelectionKey was created and registered.
removeAttribute(AttributeKey<T>) - Method in interface org.apache.mina.api.IoSession
Removes the specified Attribute from this container.
removeAttribute(AttributeKey<T>) - Method in class org.apache.mina.session.AbstractIoSession
Removes the specified Attribute from this container.
Request - Interface in org.apache.mina.filter.query
A request message, which should be responded by a Response.
request(IoSession, REQUEST, long) - Method in class org.apache.mina.filter.query.RequestFilter
Send a request message and provide a IoFuture for handling the response.
RequestFilter<REQUEST extends Request,RESPONSE extends Response> - Class in org.apache.mina.filter.query
A filter providing IoFuture for request/response protocol.
RequestFilter() - Constructor for class org.apache.mina.filter.query.RequestFilter
 
requestId() - Method in interface org.apache.mina.filter.query.Request
 
requestId() - Method in interface org.apache.mina.filter.query.Response
 
RequestTimeoutException - Exception in org.apache.mina.filter.query
An exception occurring when the request took too much time.
RequestTimeoutException() - Constructor for exception org.apache.mina.filter.query.RequestTimeoutException
 
Response - Interface in org.apache.mina.filter.query
A message which can be possibly a response to a request.
resumeRead() - Method in interface org.apache.mina.api.IoSession
Resumes read operations for this session.
resumeRead() - Method in class org.apache.mina.transport.bio.BioUdpSession
Resumes read operations for this session.
resumeRead() - Method in class org.apache.mina.transport.nio.NioTcpSession
Resumes read operations for this session.
resumeRead() - Method in class org.apache.mina.transport.nio.NioUdpSession
Resumes read operations for this session.
resumeWrite() - Method in interface org.apache.mina.api.IoSession
Resumes write operations for this session.
resumeWrite() - Method in class org.apache.mina.transport.bio.BioUdpSession
Resumes write operations for this session.
resumeWrite() - Method in class org.apache.mina.transport.nio.NioTcpSession
Resumes write operations for this session.
resumeWrite() - Method in class org.apache.mina.transport.nio.NioUdpSession
Resumes write operations for this session.

S

scheduleException(IoFutureListener<V>, Throwable) - Method in class org.apache.mina.util.AbstractIoFuture
Default implementation to call a listener's IoFutureListener.exception(Throwable) method.
scheduleResult(IoFutureListener<V>, V) - Method in class org.apache.mina.util.AbstractIoFuture
Default implementation to call a listener's IoFutureListener.completed(Object) method.
secured - Variable in class org.apache.mina.session.AbstractIoSession
Tells if the session is secured or not
SelectorListener - Interface in org.apache.mina.transport.nio
Listen for selector events.
SelectorLoop - Interface in org.apache.mina.transport.nio
 
SelectorLoopPool - Interface in org.apache.mina.transport.nio
A pool of SelectorLoop
SentEvent - Class in org.apache.mina.service.executor
An IoSession sent a message Event
SentEvent(IoSession, Object) - Constructor for class org.apache.mina.service.executor.SentEvent
 
serviceActivated(IoService) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a new service is activated by an IoService.
serviceActivated(IoService) - Method in interface org.apache.mina.api.IoHandler
Invoked when a new service is activated by an IoService.
serviceInactivated(IoService) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a service is inactivated by an IoService.
serviceInactivated(IoService) - Method in interface org.apache.mina.api.IoHandler
Invoked when a service is inactivated by an IoService.
sessionClosed(IoSession) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in interface org.apache.mina.api.IoFilter
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in interface org.apache.mina.api.IoHandler
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked when a connection is closed.
sessionClosed(IoSession) - Method in class org.apache.mina.filter.query.RequestFilter
Invoked when a connection is closed.
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked with the related IdleStatus when a connection becomes idle.
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked with the related IdleStatus when a connection becomes idle.
sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.api.IoFilter
Invoked with the related IdleStatus when a connection becomes idle.
sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.api.IoHandler
Invoked with the related IdleStatus when a connection becomes idle.
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked with the related IdleStatus when a connection becomes idle.
sessionOpened(IoSession) - Method in class org.apache.mina.api.AbstractIoFilter
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in class org.apache.mina.api.AbstractIoHandler
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in interface org.apache.mina.api.IoFilter
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in interface org.apache.mina.api.IoHandler
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in class org.apache.mina.filter.logging.LoggingFilter
Invoked when a connection has been opened.
sessionOpened(IoSession) - Method in class org.apache.mina.filter.query.RequestFilter
 
sessionRead(AbstractIoSession, long) - Method in interface org.apache.mina.service.idlechecker.IdleChecker
Inform the IdleCheker a session have a read event
sessionRead(AbstractIoSession, long) - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
Inform the IdleCheker a session have a read event
sessionWritten(AbstractIoSession, long) - Method in interface org.apache.mina.service.idlechecker.IdleChecker
Inform the IdleCheker a session have a write event
sessionWritten(AbstractIoSession, long) - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
Inform the IdleCheker a session have a write event
setAcceptKey(SelectionKey) - Method in class org.apache.mina.transport.nio.NioTcpServer
 
setActive() - Method in class org.apache.mina.service.AbstractIoService
Sets the IoService state to ACTIVE.
setAttribute(AttributeKey<? extends T>, T) - Method in interface org.apache.mina.api.IoSession
Sets a user-defined attribute.
setAttribute(AttributeKey<? extends T>, T) - Method in class org.apache.mina.session.AbstractIoSession
Sets a user-defined attribute.
setBroadcast(boolean) - Method in class org.apache.mina.transport.udp.DefaultUdpSessionConfig
setBroadcast(boolean) - Method in interface org.apache.mina.transport.udp.UdpSessionConfig
 
setConnectTimeoutMillis(int) - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
Sets the connect timeout in milliseconds.
setCreated() - Method in class org.apache.mina.service.AbstractIoService
Sets the IoService state to CREATED.
setDisposed() - Method in class org.apache.mina.service.AbstractIoService
Sets the IoService state to DISPOSED.
setDisposing() - Method in class org.apache.mina.service.AbstractIoService
Sets the IoService state to DISPOSING.
setException(Throwable) - Method in class org.apache.mina.util.AbstractIoFuture
Set the future result as a Throwable, indicating that a throwable was thrown while executing the task.
setFilters(IoFilter...) - Method in interface org.apache.mina.api.IoService
Set the list of filters for this service.
setFilters(IoFilter...) - Method in class org.apache.mina.service.AbstractIoService
Set the list of filters for this service.
setFuture(IoFuture<Void>) - Method in class org.apache.mina.session.DefaultWriteRequest
Store the future into the request
setFuture(IoFuture<Void>) - Method in interface org.apache.mina.session.WriteRequest
Store the future into the request
setIdleTimeInMillis(IdleStatus, long) - Method in interface org.apache.mina.api.IoSessionConfig
Set the delay before an IoSession is considered idle for a given operation type (read/write/both) @see IdleStatus
setIdleTimeInMillis(IdleStatus, long) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Set the delay before an IoSession is considered idle for a given operation type (read/write/both) @see IdleStatus
setIdleTimeInMillis(IdleStatus, long) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Set the delay before an IoSession is considered idle for a given operation type (read/write/both) @see IdleStatus
setIoHandler(IoHandler) - Method in interface org.apache.mina.api.IoService
Set the IoHandler in charge of your business logic for this service.
setIoHandler(IoHandler) - Method in class org.apache.mina.service.AbstractIoService
Set the IoHandler in charge of your business logic for this service.
setKeepAlive(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
setKeepAlive(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
setKeepAlive(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
setMessage(Object) - Method in class org.apache.mina.session.DefaultWriteRequest
Store the encoded message
setMessage(Object) - Method in interface org.apache.mina.session.WriteRequest
Store the encoded message
setMessageReceivedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the MessageReceived event.
setMessageSentLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the messageSent event.
setMessageWritingLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the MessageWriting event.
setNotRegisteredForWrite() - Method in class org.apache.mina.transport.nio.AbstractNioSession
 
setOobInline(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
setOobInline(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
setOobInline(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
setReadBufferSize(int) - Method in interface org.apache.mina.api.IoSessionConfig
Sets the size of the read buffer that I/O processor allocates per each read.
setReadBufferSize(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Sets the size of the read buffer that I/O processor allocates per each read.
setReadBufferSize(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Sets the size of the read buffer that I/O processor allocates per each read.
setReadKey(SelectionKey) - Method in class org.apache.mina.transport.nio.NioUdpServer
 
setResult(V) - Method in class org.apache.mina.util.AbstractIoFuture
Set the future result of the executing task.
setReuseAddress(boolean) - Method in interface org.apache.mina.api.IoSessionConfig
 
setReuseAddress(boolean) - Method in class org.apache.mina.service.server.AbstractIoServer
Set the reuse address flag on the server socket
setReuseAddress(boolean) - Method in class org.apache.mina.session.AbstractIoSessionConfig
setReuseAddress(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
setSecured(boolean) - Method in class org.apache.mina.session.AbstractIoSession
setSendBufferSize(int) - Method in interface org.apache.mina.api.IoSessionConfig
Sets the size of the buffer that I/O processor allocates per each write.
setSendBufferSize(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Sets the size of the buffer that I/O processor allocates per each write.
setSendBufferSize(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Sets the size of the buffer that I/O processor allocates per each write.
setServerSocketChannel(ServerSocketChannel) - Method in class org.apache.mina.transport.nio.NioTcpServer
 
setSessionClosedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the SessionClosed event.
setSessionConfig(IoSessionConfig) - Method in class org.apache.mina.service.server.AbstractIoServer
Set the default configuration for created TCP sessions
setSessionConfig(TcpSessionConfig) - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
Set the default configuration for created TCP sessions
setSessionConfig(TcpSessionConfig) - Method in class org.apache.mina.transport.tcp.AbstractTcpServer
Set the default configuration for created TCP sessions
setSessionConfig(UdpSessionConfig) - Method in class org.apache.mina.transport.udp.AbstractUdpServer
setSessionIdleLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the SessionIdle event.
setSessionOpenedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
Set the LogLevel for the SessionOpened event.
setSoLinger(int) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
setSoLinger(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
setSoLinger(int) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
Please note that enabling SO_LINGER in Java NIO can result in platform-dependent behavior and unexpected blocking of I/O thread.
setSslContext(SSLContext) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
Inject a SSLContex valid for the session.
setSslContext(SSLContext) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
 
setSslContext(SSLContext) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
setSuspended() - Method in class org.apache.mina.service.AbstractIoService
Sets the IoService state to SUSPENDED.
setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
setTcpNoDelay(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
 
setTimeout(int) - Method in interface org.apache.mina.api.IoSessionConfig
Sets the SO_TIMEOUT option for this socket
setTimeout(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Sets the SO_TIMEOUT option for this socket
setTimeout(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Sets the SO_TIMEOUT option for this socket
setTrafficClass(TrafficClassEnum) - Method in interface org.apache.mina.api.IoSessionConfig
Set the ToS flag for this session
setTrafficClass(int) - Method in interface org.apache.mina.api.IoSessionConfig
Set the ToS flag for this session
setTrafficClass(TrafficClassEnum) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Set the ToS flag for this session
setTrafficClass(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
Set the ToS flag for this session
setTrafficClass(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Set the ToS flag for this session
setTrafficClass(TrafficClassEnum) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
Set the ToS flag for this session
SSL_HELPER - Static variable in interface org.apache.mina.api.IoSession
The SslHelper instance name, stored in the session's attributes
SslHelper - Class in org.apache.mina.transport.nio
An helper class used to manage everything related to SSL/TLS establishment and management.
SslHelper(IoSession, SSLContext) - Constructor for class org.apache.mina.transport.nio.SslHelper
Create a new SSL Handler.
start() - Method in interface org.apache.mina.service.idlechecker.IdleChecker
Start the idle checker inner threads
start() - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
Start the idle checker inner threads
state - Variable in class org.apache.mina.session.AbstractIoSession
The session's state : one of CREATED, CONNECTED, CLOSING, CLOSED, SECURING, CONNECTED_SECURED
suspendRead() - Method in interface org.apache.mina.api.IoSession
Suspends read operations for this session.
suspendRead() - Method in class org.apache.mina.transport.bio.BioUdpSession
Suspends read operations for this session.
suspendRead() - Method in class org.apache.mina.transport.nio.NioTcpSession
Suspends read operations for this session.
suspendRead() - Method in class org.apache.mina.transport.nio.NioUdpSession
Suspends read operations for this session.
suspendWrite() - Method in interface org.apache.mina.api.IoSession
Suspends write operations for this session.
suspendWrite() - Method in class org.apache.mina.transport.bio.BioUdpSession
Suspends write operations for this session.
suspendWrite() - Method in class org.apache.mina.transport.nio.NioTcpSession
Suspends write operations for this session.
suspendWrite() - Method in class org.apache.mina.transport.nio.NioUdpSession
Suspends write operations for this session.

T

TcpSessionConfig - Interface in org.apache.mina.transport.tcp
A IoSessionConfig for socket based sessions.
toHex(ByteBuffer) - Static method in class org.apache.mina.util.ByteBufferDumper
Dump a byte buffer remaining bytes as a hex-decimal string.
toString() - Method in enum org.apache.mina.api.IdleStatus
Returns the string representation of this status.
toString() - Method in class org.apache.mina.session.AbstractIoSession
toString() - Method in class org.apache.mina.session.DefaultWriteRequest
 
TrafficClassEnum - Enum in org.apache.mina.session
Define the list of Trafic Class available.

U

UdpSessionConfig - Interface in org.apache.mina.transport.udp
A IoSessionConfig for UDP based sessions.
unbind() - Method in interface org.apache.mina.api.IoServer
Unbinds from the local addresses that this service is bound to and stops to accept incoming connections.
unbind() - Method in class org.apache.mina.transport.bio.BioUdpServer
 
unbind() - Method in class org.apache.mina.transport.nio.NioTcpServer
Unbinds from the local addresses that this service is bound to and stops to accept incoming connections.
unbind() - Method in class org.apache.mina.transport.nio.NioUdpServer
Unbinds from the local addresses that this service is bound to and stops to accept incoming connections.
UnorderHandlerExecutor - Class in org.apache.mina.service.executor
(in progress)
UnorderHandlerExecutor(Executor) - Constructor for class org.apache.mina.service.executor.UnorderHandlerExecutor
 
unregister(SelectorListener, SelectableChannel) - Method in class org.apache.mina.transport.nio.NioSelectorLoop
unregister(SelectorListener, SelectableChannel) - Method in interface org.apache.mina.transport.nio.SelectorLoop
 

V

valueOf(String) - Static method in enum org.apache.mina.api.IdleStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.mina.api.IoSession.SessionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.mina.filter.logging.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.mina.service.AbstractIoService.ServiceState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.mina.session.TrafficClassEnum
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.apache.mina.session.TrafficClassEnum
Get back the Enum value fro the integer value
values() - Static method in enum org.apache.mina.api.IdleStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.mina.api.IoSession.SessionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.mina.filter.logging.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.mina.service.AbstractIoService.ServiceState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.mina.session.TrafficClassEnum
Returns an array containing the constants of this enum type, in the order they are declared.
visit(EventVisitor) - Method in class org.apache.mina.service.executor.CloseEvent
 
visit(EventVisitor) - Method in interface org.apache.mina.service.executor.Event
Call the visitor method for this kind of event.
visit(OpenEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
 
visit(CloseEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
 
visit(ReceiveEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
 
visit(SentEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
 
visit(IdleEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
 
visit(EventVisitor) - Method in class org.apache.mina.service.executor.IdleEvent
 
visit(EventVisitor) - Method in class org.apache.mina.service.executor.OpenEvent
 
visit(EventVisitor) - Method in class org.apache.mina.service.executor.ReceiveEvent
 
visit(EventVisitor) - Method in class org.apache.mina.service.executor.SentEvent
 

W

wakeup() - Method in class org.apache.mina.transport.nio.NioSelectorLoop
 
wakeup() - Method in interface org.apache.mina.transport.nio.SelectorLoop
Wake up the selector
WANT_CLIENT_AUTH - Static variable in class org.apache.mina.transport.nio.SslHelper
 
write(Object) - Method in interface org.apache.mina.api.IoSession
Enqueue a message for writing.
write(Object) - Method in class org.apache.mina.session.AbstractIoSession
Enqueue a message for writing.
writeDirect(Object) - Method in class org.apache.mina.transport.nio.AbstractNioSession
Writes the message immediately.
writeDirect(Object) - Method in class org.apache.mina.transport.nio.NioTcpSession
Writes the message immediately.
writeDirect(Object) - Method in class org.apache.mina.transport.nio.NioUdpSession
Writes the message immediately.
WriteFilterChainController - Interface in org.apache.mina.filterchain
Chain controller used by a filter for calling the next filter in write order.
WriteRequest - Interface in org.apache.mina.session
The write request created by the IoSession.write(java.lang.Object) method, which is transmitted through the filter chain and finish as a socket write.
writeWithFuture(Object) - Method in interface org.apache.mina.api.IoSession
Same as IoSession.write(Object), but provide a IoFuture for tracking the completion of this write.
writeWithFuture(Object) - Method in class org.apache.mina.session.AbstractIoSession
Same as IoSession.write(Object), but provide a IoFuture for tracking the completion of this write.
A B C D E F G H I L M N O P R S T U V W 

Copyright © 2009–2013 Apache MINA Project. All rights reserved.