- 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
-
- 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
-
- 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
-
- getAttributeKeys() - Method in class org.apache.mina.session.AbstractIoSession
-
- 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
-
- getIoHandlerExecutor() - Method in class org.apache.mina.service.AbstractIoService
-
- 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
-
- getSelectorLoop() - Method in interface org.apache.mina.transport.nio.SelectorLoopPool
-
- 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.
- 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
-
- 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
-
- IoSessionConfig - Interface in org.apache.mina.api
-
- 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.
- scheduleException(IoFutureListener<V>, Throwable) - Method in class org.apache.mina.util.AbstractIoFuture
-
- scheduleResult(IoFutureListener<V>, V) - Method in class org.apache.mina.util.AbstractIoFuture
-
- 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
-
- SentEvent - Class in org.apache.mina.service.executor
-
- 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.