|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
IoFilterChain that provides
common operations for developers to implement their own transport layer.baseName in this chain.
baseName in this chain.
IoServiceListener that listens any events related with
this service.
MessageHandler that receives the messages of
the specified type.
SocketAddress which represents anonymous address.InputStream that reads the data from this buffer.
OutputStream that appends the data into this buffer.
TextLineDecoder.
ByteBuffer.expand(int) only when
autoExpand property is true.
ByteBuffer.expand(int) only when
autoExpand property is true.
ByteBuffer.IoAcceptor.IoAcceptorConfig.IoConnector.IoConnectorConfig.IoServices.IoServiceConfig.IoSession.IoSessionConfig.address and handles incoming
connections with the specified handler.
address and handles incoming
connections with the specified handler.
address and handles incoming connections with the specified
handler.
IoFilter which blocks connections from blacklisted remote
address.IdleStatus.READER_IDLE and IdleStatus.WRITER_IDLE.
IoSession for broadcast transports.RuntimeException which is thrown when the data the ByteBuffer
contains is corrupt.ByteBuffers and manages them.ByteBuffer that wraps a buffer and proxies any operations to it.IoHandler which executes an IoHandlerChain
on a messageReceived event.IoHandlerChain.
IoHandlerChain on a messageReceived event.
IoFutureListener that closes the IoSession which is
associated with the specified IoFuture.
IoFuture for asynchronous close requests.address.
address.
address.
address.
ConnectFuture related with
the IoSession.
IoFuture for asynchronous connect requests.IoFilter with the
specified name.
IoFilter of the
specified filterType.
ProtocolDecoder that cumulates the content of received
buffers to a cumulative buffer to help users implement decoders.InputStream to the session.
IoAcceptor for datagram transport (UDP/IP).IoAcceptorConfig for DatagramAcceptor.IoAcceptor for datagram transport (UDP/IP).IoConnector for datagram transport (UDP/IP).IoConnectorConfig for DatagramConnector.IoConnector for datagram transport (UDP/IP).IoServiceConfig for DatagramAcceptor and DatagramConnector.IoSessionConfig for datagram transport type.IoSession for datagram transport (UDP/IP).CumulativeProtocolDecoder.doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput).
CloseFuture.ConnectFuture.ExceptionMonitor implementation that logs uncaught
exceptions using Logger.IoFilterChainBuilder which is useful
in most cases.IoFuture.WriteFuture.IoAcceptor that wraps the other IoAcceptor.IoConnector that wraps the other IoConnector.IoHandler that demuxes messageReceived events
to the appropriate MessageHandler.MessageHandlers.
ProtocolCodecFactory that consists of multiple
MessageEncoders and MessageDecoders.ReferenceCountingIoFilter when this filter
is not used by any IoFilterChain anymore, so you can destroy
shared resources.
IoHandler.exceptionCaught(IoSession,Throwable)
event.
IoHandler
implementation or by MINA.
IoHandler
implementation or by MINA.
SingleSessionIoHandler.exceptionCaught(Throwable) method of the
handler assigned to this session.
IoHandlerCommand in the
IoHandlerChain.
Executor in
backport-util-concurrent.ThreadModel which represents a thread model with an Executor
per service.IoSessionRecycler with sessions that time out on inactivity.NUL (0x00).
NUL (0x00).
IoSession.close() method invocation.
IoSession.write(Object) method invocation.
IoHandler.exceptionCaught(IoSession, Throwable) event.
IoSession.close() event.
IoSession.write(Object) event.
IoFilterChain.fireMessageReceived(IoSession, Object) event.
IoHandler.sessionOpened(IoSession) event.
IoServiceListener.serviceActivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners.
IoServiceListener.serviceDeactivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners.
IoHandler.sessionClosed(IoSession) event.
IoHandler.sessionCreated(IoSession) event.
IoServiceListener.sessionCreated(IoSession) for all registered listeners.
IoServiceListener.sessionDestroyed(IoSession) for all registered listeners.
IoHandler.sessionIdle(IoSession, IdleStatus) event.
IoHandler.sessionOpened(IoSession) event.
ProtocolDecoderOutput.write(Object) to
the next filter.
ProtocolEncoderOutput.write(ByteBuffer) to
the session.
IoFilter with the specified name in this chain.
IoFilterChain.Entrys this chain contains.
IoFilterChain.Entrys this chain contains.
Set of currently available port numbers
(Integer).
Set of currently avaliable port numbers (Integer)
between the specified port range.
IoHandlerCommand this handler will use to
handle messageReceived events.
CloseFuture of this session.
ProtocolDecoder which
decodes binary or protocol-specific data into message objects.
ProtocolEncoder which
encodes message objects into binary or protocol-specific data.
IoFilterChain.Entry with the specified name in this chain.
Executor of this model.
Executor instance this filter uses.
IoService.getFilterChainBuilder() ).
IoServiceConfig.getFilterChainBuilder() ).
IoFilterChainBuilder which will modify the
IoFilterChain of all IoSessions which is managed
by this service.
IoFilterChainBuilder which will modify the
IoFilterChain of all IoSessions which is created
with this configuration.
WriteFuture that is associated with this write request.
IoHandler which handles this session.
SingleSessionIoHandler for the given session.
IdleStatus.
ExecutorThreadModel instance for the specified serviceName.
TrafficMask instance from the
specified interestOps.
SelectionKey for this mask.
IdleStatus.
SocketAddresses this service is managing.
MessageHandler which is registered to process
the specified type.
Map which contains all messageType-MessageHandler
pairs registered to this handler.
IoHandlerCommand.NextCommand of the command.
IoFilter.NextFilter of the filter.
IoFilter.NextFilter of the IoFilter with the
specified name in this chain.
ClassLoader
of the current thread.
decoder and returns it.
decoder and returns it.
IoService which provides I/O service to this session.
IoService listens to to manage
this session.
IoServiceConfig of this session.
IoSession which is the result of connect operation.
IoSession of this chain.
IoSession which is associated with this future.
IoSessions.
IoSessionRecycler for this service.
NUL-terminated string from this buffer using the
specified decoder and returns it.
NUL-terminated string from this buffer using the
specified decoder and returns it.
ThreadModel of the IoService.
TrafficMask of this session.
SingleSessionIoHandler as a session
attribute.
IdentityHashMap-backed Set.IoSession or
IoSession.ReferenceCountingIoFilter when this filter
is added to a IoFilterChain at the first time, so you can
initialize shared resources.
IoHandlers.IoAcceptor.IoHandlers.IoConnector.IoHandler events like Servlet
filters.IoFilter in IoFilterChain.IoSession.write(Object).WriteFuture.
WriteFuture.
IoFilter.IoFilters that forwards IoHandler events
to the consisting filters and terminal IoHandler sequentially.IoFilterChain contains.IoFilterChain in predefined way
when IoSession is created.RuntimeException which is thrown when IoFilter.init()
or IoFilter#onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)
failed.IoFuture becomes available.IoHandler.IoHandlerCommands.IoHandlerCommands.
IoHandlerChain contains.IoHandlerCommand encapsulates a unit of processing work to be
performed, whose purpose is to examine and/or modify the state of a
transaction that is represented by custom attributes provided by
IoSession.IoHandlerCommand of
the IoHandlerChain.IoAcceptors and IoConnectors
that provide I/O service and manage IoSessions.IoService.IoFuture becomes available.IoServiceListeners and firing
events.IoSession.InputStream that buffers data read from
IoHandler.messageReceived(IoSession, Object) events.OutputStream that forwards all write operations to
the associated IoSession.IoServiceConfig.true if and only if this session is being closed
(but not disconnected yet) or is closed.
- isClosing() -
Method in class org.littleshoot.mina.common.support.BaseIoSession
-
- isConnected() -
Method in interface org.littleshoot.mina.common.ConnectFuture
- Returns true if the connect operation is finished successfully.
- isConnected() -
Method in interface org.littleshoot.mina.common.IoSession
- Returns
true if this session is connected with remote peer.
- isConnected() -
Method in class org.littleshoot.mina.common.support.BaseIoSession
-
- isConnected() -
Method in class org.littleshoot.mina.common.support.DefaultConnectFuture
-
- isConnectionless() -
Method in class org.littleshoot.mina.common.TransportType
- Returns
true if the session of this transport type is
connectionless.
- isDebugEnabled(IoSession) -
Static method in class org.littleshoot.mina.util.SessionLog
-
- isDirect() -
Method in class org.littleshoot.mina.common.ByteBuffer
-
- isDirect() -
Method in class org.littleshoot.mina.common.ByteBufferProxy
-
- isDirect() -
Method in class org.littleshoot.mina.common.support.BaseByteBuffer
-
- isDisconnectOnUnbind() -
Method in interface org.littleshoot.mina.common.IoAcceptorConfig
- Returns true if and only if all clients are disconnected
when this acceptor unbinds the related local address.
- isDisconnectOnUnbind() -
Method in class org.littleshoot.mina.common.support.BaseIoAcceptorConfig
-
- isEmpty() -
Method in class org.littleshoot.mina.util.ExpiringMap
-
- isEmpty() -
Method in class org.littleshoot.mina.util.ExpiringStack
- Returns
true if the stack is empty.
- isEmpty() -
Method in class org.littleshoot.mina.util.Stack
- Returns
true if the stack is empty.
- isErrorEnabled(IoSession) -
Static method in class org.littleshoot.mina.util.SessionLog
-
- isGetTrafficClassAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isGetTrafficClassAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- isIdle(IdleStatus) -
Method in interface org.littleshoot.mina.common.IoSession
- Returns
true if this session is idle for the specified
IdleStatus.
- isIdle(IdleStatus) -
Method in class org.littleshoot.mina.common.support.BaseIoSession
-
- isInfoEnabled(IoSession) -
Static method in class org.littleshoot.mina.util.SessionLog
-
- isKeepAlive() -
Method in interface org.littleshoot.mina.transport.socket.nio.SocketSessionConfig
-
- isKeepAlive() -
Method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isManaged(SocketAddress) -
Method in interface org.littleshoot.mina.common.IoService
- Returns true if this service is managing the specified serviceAddress.
- isManaged(SocketAddress) -
Method in class org.littleshoot.mina.common.support.BaseIoService
-
- isManaged(SocketAddress) -
Method in class org.littleshoot.mina.common.support.DelegatedIoAcceptor
-
- isManaged(SocketAddress) -
Method in class org.littleshoot.mina.common.support.DelegatedIoConnector
-
- isManaged(SocketAddress) -
Method in class org.littleshoot.mina.common.support.IoServiceListenerSupport
-
- isOobInline() -
Method in interface org.littleshoot.mina.transport.socket.nio.SocketSessionConfig
-
- isOobInline() -
Method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isPooled() -
Method in class org.littleshoot.mina.common.ByteBuffer
- Returns true if and only if this buffer is returned back
to the buffer pool when released.
- isPooled() -
Method in class org.littleshoot.mina.common.ByteBufferProxy
-
- isReadable() -
Method in class org.littleshoot.mina.common.TrafficMask
- Returns true if this mask allows a read operation.
- isReadOnly() -
Method in class org.littleshoot.mina.common.ByteBuffer
-
- isReadOnly() -
Method in class org.littleshoot.mina.common.ByteBufferProxy
-
- isReadOnly() -
Method in class org.littleshoot.mina.common.support.BaseByteBuffer
-
- isReady() -
Method in interface org.littleshoot.mina.common.IoFuture
- Returns if the asynchronous operation is finished.
- isReady() -
Method in class org.littleshoot.mina.common.support.DefaultIoFuture
-
- isReuseAddress() -
Method in interface org.littleshoot.mina.transport.socket.nio.DatagramSessionConfig
-
- isReuseAddress() -
Method in class org.littleshoot.mina.transport.socket.nio.SocketAcceptorConfig
-
- isReuseAddress() -
Method in interface org.littleshoot.mina.transport.socket.nio.SocketSessionConfig
-
- isReuseAddress() -
Method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isReuseAddress() -
Method in class org.littleshoot.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- isRunning() -
Method in class org.littleshoot.mina.management.StatCollector
- is the stat collector started and polling the
IoSession of the IoService
- isRunning() -
Method in class org.littleshoot.mina.util.ExpiringMap.Expirer
-
- isScheduledForFlush() -
Method in class org.littleshoot.mina.common.support.BaseIoSession
-
- isSetReceiveBufferSizeAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSetReceiveBufferSizeAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- isSetSendBufferSizeAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSetSendBufferSizeAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- isSetTrafficClassAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSetTrafficClassAvailable() -
Static method in class org.littleshoot.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- isTcpNoDelay() -
Method in interface org.littleshoot.mina.transport.socket.nio.SocketSessionConfig
-
- isTcpNoDelay() -
Method in class org.littleshoot.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isUseDirectBuffers() -
Static method in class org.littleshoot.mina.common.ByteBuffer
-
- isWarnEnabled(IoSession) -
Static method in class org.littleshoot.mina.util.SessionLog
-
- isWritable() -
Method in class org.littleshoot.mina.common.TrafficMask
- Returns true if this mask allows a write operation.
- isWritten() -
Method in class org.littleshoot.mina.common.support.DefaultWriteFuture
-
- isWritten() -
Method in interface org.littleshoot.mina.common.WriteFuture
- Returns true if the write operation is finished successfully.
- iterator() -
Method in class org.littleshoot.mina.util.IdentityHashSet
-
IoSessionStat.
Logger
Logger
Logger.ThreadModel which make MINA not manage a thread model at all.
ProtocolEncoderOutput.write(ByteBuffer) into
one ByteBuffer and replaces the old fragmented ones with it.
MessageDecoder implementation for those who don't need to
implement MessageDecoder.finishDecode(IoSession, ProtocolDecoderOutput)
method.MessageDecoder.MessageDecoder.MessageEncoder.getMessageTypes().MessageEncoder.DemuxingIoHandler forwards
messageReceived events to.IoHandler.messageReceived(IoSession,Object)
event.
IoHandlerCommand or IoHandlerChain you specified
in the constructor.
MessageHandler
which is registered by DemuxingIoHandler.addMessageHandler(Class, MessageHandler).
session.
SingleSessionIoHandler.messageReceived(Object) method of the
handler assigned to this session.
IoHandler.messageSent(IoSession,Object)
event.
IoSession.write(Object) is
sent out.
IoSession.write(Object) is sent out actually.
SingleSessionIoHandler.messageSent(Object) method of the handler
assigned to this session.
Runnable wrapper that preserves the name of the thread after the runnable is
complete (for Runnables that change the name of the Thread they use.)MessageDecoder.decodable(IoSession, ByteBuffer) and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
ConnectFuture which is already marked as 'failed to connect'.
DefaultWriteFuture which is already marked as 'not written'.
IoSession that is bound to the specified
localAddress and remoteAddress which reuses
the localAddress that is already bound by IoAcceptor
via IoAcceptor.bind(SocketAddress, IoHandler).
DefaultWriteFuture which is already marked as 'written'.
MessageHandler that does nothing.
MessageDecoder.decodable(IoSession, ByteBuffer) and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
ProtocolCodecFactory that serializes and deserializes Java objects.ClassLoader of
the current thread.
ClassLoader.
ProtocolDecoder which deserializes Serializable Java
objects using ByteBuffer.getObject(ClassLoader).ClassLoader of
the current thread.
ClassLoader.
ProtocolEncoder which serializes Serializable Java objects
using ByteBuffer.putObject(Object).ObjectInput and InputStream that can read the objects encoded
by ObjectSerializationEncoder.ObjectOutput and OutputStream that can write the objects as
the serialized form that ObjectSerializationDecoder can decode.MessageDecoder.decodable(IoSession, ByteBuffer) and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput).
IoFuture
has been completed.
ByteBufferAllocator which pools allocated buffers.ProtocolEncoder or
ProtocolDecoder cannot understand or failed to validate
data to process.ProtocolEncoder and ProtocolDecoder which translates
binary or protocol specific data into message object and vice versa.IoFilter which translates binary or protocol specific data into
message object and vice versa using ProtocolCodecFactory,
ProtocolEncoder, or ProtocolDecoder.ProtocolDecoder implementation for those who don't need
ProtocolDecoder.finishDecode(IoSession, ProtocolDecoderOutput) nor
ProtocolDecoder.dispose(IoSession) method.ProtocolDecoder
cannot understand or failed to validate the specified ByteBuffer
content.ProtocolDecoder to generate decoded messages.ProtocolEncoder implementation for those who don't have any
resources to dispose.ProtocolEncoder
cannot understand or failed to validate the specified message object.ProtocolEncoder to generate encoded ByteBuffers.IoSession.
in into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder.
in into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder.
in into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder.
in into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder.
in into this buffer using the
specified encoder.
in into this buffer as a
NUL-terminated string using the specified
encoder.
IoSession once the data
batched for that session in the ExecutorFilter reaches a defined threshold (the
default is 1 megabytes).IoSession.
IoFilters wrapper that keeps track of the number of usages of this filter and will call init/destroy
when the filter is not in use.IoSession is explicitly closed.
IoServiceListener that listens any events
related with this service.
MessageHandler that receives the messages of
the specified type.
IoSession.setTrafficMask(TrafficMask) that
resumes read operations for this session.
IoSession.setTrafficMask(TrafficMask) that
resumes write operations for this session.
IOException.IoService.
IoService.
IoHandler.sessionClosed(IoSession) event.
SingleSessionIoHandler.sessionClosed() method of the handler
assigned to this session.
IoHandler.sessionCreated(IoSession) event.
IoService.
IoService.
IoHandler.sessionIdle(IoSession,IdleStatus)
event.
IdleStatus when a connection becomes idle.
SingleSessionIoHandler.sessionIdle(IdleStatus) method of the
handler assigned to this session.
IoHandler.sessionOpened(IoSession) event.
SingleSessionIoHandler.sessionOpened() method of the handler
assigned to this session.
Executor of this model.
IoFilterChainBuilder which will modify the
IoFilterChain of all IoSessions which is managed
by this service.
IoFilterChainBuilder which will modify the
IoFilterChain of all IoSessions which is created
with this configuration.
IoSessionRecycler for this service.
ThreadModel of the IoService.
TrafficMask of this session which will result
the parent IoService to start to control the traffic
of this session immediately.
ByteBufferAllocator which simply allocates a new
buffer every time.ProtocolDecoderOutput based on queue.ProtocolEncoderOutput based on queue.IoSession parameter for simplicity.SingleSessionIoHandler
interface.IoHandler implementation which delegates all requests to
SingleSessionIoHandlers.SingleSessionIoHandlerFactory to create new
SingleSessionIoHandlers.
SingleSessionIoHandler to be used with one
particular session.size
bytes.
IoAcceptor for socket transport (TCP/IP).IoAcceptorConfig for SocketAcceptor.IoConnector for socket transport (TCP/IP).IoConnectorConfig for SocketConnector.IoSessionConfig for socket transport type.IoConnectorConfig for SocketConnector.IoSession of the service.
IoService.IoHandler that adapts asynchronous MINA events to stream I/O.InputStream
objects directly using IoSession.write(Object).IoSession.setTrafficMask(TrafficMask) that
suspends read operations for this session.
IoSession.setTrafficMask(TrafficMask) that
suspends write operations for this session.
ProtocolDecoder implementation which decorates an existing decoder
to be thread-safe.ProtocolEncoder implementation which decorates an existing encoder
to be thread-safe.ProtocolCodecFactory that performs encoding and decoding between
a text line data and a Java string object.Charset.
Charset.
ProtocolDecoder which decodes a text line into a string.Charset
and LineDelimiter.AUTO delimiter.
LineDelimiter.AUTO delimiter.
ProtocolEncoder which encodes a string into a text line
which ends with the delimiter.IoService.IoSession
with IoSession.setTrafficMask(TrafficMask).address and disconnects all clients
connected there.
DemuxingIoHandler
cannot find any MessageHandlers associated with the specific
message type.IoService that the TrafficMask of this
session has been changed.
IoHandler to the specified
VmPipeAddress.SocketAddress which represents in-VM pipe port number.IoHandlers which is bound on the specified
VmPipeAddress.IoSession for in-VM transport (VM_PIPE).ByteBuffer into MINA buffer.
ByteBuffer into MINA buffer.
message to remote peer.
ProtocolDecoder to generate decoded messages.
ProtocolEncoder to generate encoded
ByteBuffers.
writeRequest.
IoFuture for asynchronous write requests.IOException which is thrown when write buffer is not flushed for
IoSession.getWriteTimeout() seconds.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||