- DATAGRAM - Static variable in class org.apache.mina.common.TransportType
-
Transport type: UDP/IP (Registry name: "DATAGRAM" or "UDP")
- DatagramAcceptor - Class in org.apache.mina.transport.socket.nio
-
- DatagramAcceptor() - Constructor for class org.apache.mina.transport.socket.nio.DatagramAcceptor
-
Creates a new instance using a NewThreadExecutor
- DatagramAcceptor(Executor) - Constructor for class org.apache.mina.transport.socket.nio.DatagramAcceptor
-
Creates a new instance.
- DatagramAcceptorConfig - Class in org.apache.mina.transport.socket.nio
-
- DatagramAcceptorConfig() - Constructor for class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
Creates a new instance.
- DatagramAcceptorDelegate - Class in org.apache.mina.transport.socket.nio.support
-
- DatagramAcceptorDelegate(IoAcceptor, Executor) - Constructor for class org.apache.mina.transport.socket.nio.support.DatagramAcceptorDelegate
-
Creates a new instance.
- DatagramConnector - Class in org.apache.mina.transport.socket.nio
-
- DatagramConnector() - Constructor for class org.apache.mina.transport.socket.nio.DatagramConnector
-
Creates a new instance using a NewThreadExecutor
- DatagramConnector(Executor) - Constructor for class org.apache.mina.transport.socket.nio.DatagramConnector
-
Creates a new instance.
- DatagramConnectorConfig - Class in org.apache.mina.transport.socket.nio
-
- DatagramConnectorConfig() - Constructor for class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
Creates a new instance.
- DatagramConnectorDelegate - Class in org.apache.mina.transport.socket.nio.support
-
- DatagramConnectorDelegate(IoConnector, Executor) - Constructor for class org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate
-
Creates a new instance.
- DatagramServiceConfig - Interface in org.apache.mina.transport.socket.nio
-
- DatagramSessionConfig - Interface in org.apache.mina.transport.socket.nio
-
- DatagramSessionConfigImpl - Class in org.apache.mina.transport.socket.nio.support
-
- DatagramSessionConfigImpl() - Constructor for class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
Creates a new instance.
- debug(IoSession, String) - Static method in class org.apache.mina.util.SessionLog
-
- debug(IoSession, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
-
- decodable(IoSession, ByteBuffer) - Method in interface org.apache.mina.filter.codec.demux.MessageDecoder
-
Checks the specified buffer is decodable by this decoder.
- decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
-
- decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in interface org.apache.mina.filter.codec.demux.MessageDecoder
-
Decodes binary or protocol-specific content into higher-level message objects.
- decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in interface org.apache.mina.filter.codec.ProtocolDecoder
-
Decodes binary or protocol-specific content into higher-level message objects.
- decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
- decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
- DECODER - Static variable in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- DEFAULT - Static variable in class org.apache.mina.filter.codec.textline.LineDelimiter
-
the line delimiter constant of the current O/S.
- DEFAULT_EXPIRATION_INTERVAL - Static variable in class org.apache.mina.util.ExpiringMap
-
- DEFAULT_STREAM_BUFFER_SIZE - Static variable in class org.apache.mina.filter.StreamWriteFilter
-
The default buffer size this filter uses for writing.
- DEFAULT_TIME_TO_LIVE - Static variable in class org.apache.mina.util.ExpiringMap
-
- DefaultCloseFuture - Class in org.apache.mina.common.support
-
- DefaultCloseFuture(IoSession) - Constructor for class org.apache.mina.common.support.DefaultCloseFuture
-
Creates a new instance.
- DefaultCloseFuture(IoSession, Object) - Constructor for class org.apache.mina.common.support.DefaultCloseFuture
-
Creates a new instance which uses the specified object as a lock.
- DefaultConnectFuture - Class in org.apache.mina.common.support
-
- DefaultConnectFuture() - Constructor for class org.apache.mina.common.support.DefaultConnectFuture
-
Creates a new instance.
- DefaultConnectFuture(Object) - Constructor for class org.apache.mina.common.support.DefaultConnectFuture
-
Creates a new instance which uses the specified object as a lock.
- DefaultExceptionMonitor - Class in org.apache.mina.common.support
-
A default
ExceptionMonitor
implementation that logs uncaught
exceptions using
Logger
.
- DefaultExceptionMonitor() - Constructor for class org.apache.mina.common.support.DefaultExceptionMonitor
-
- DefaultIoFilterChainBuilder - Class in org.apache.mina.common
-
- DefaultIoFilterChainBuilder() - Constructor for class org.apache.mina.common.DefaultIoFilterChainBuilder
-
Creates a new instance with an empty filter list.
- DefaultIoFuture - Class in org.apache.mina.common.support
-
- DefaultIoFuture(IoSession) - Constructor for class org.apache.mina.common.support.DefaultIoFuture
-
Creates a new instance.
- DefaultIoFuture(IoSession, Object) - Constructor for class org.apache.mina.common.support.DefaultIoFuture
-
Creates a new instance.
- DefaultWriteFuture - Class in org.apache.mina.common.support
-
- DefaultWriteFuture(IoSession) - Constructor for class org.apache.mina.common.support.DefaultWriteFuture
-
Creates a new instance.
- DefaultWriteFuture(IoSession, Object) - Constructor for class org.apache.mina.common.support.DefaultWriteFuture
-
Creates a new instance which uses the specified object as a lock.
- delegate - Variable in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- delegate - Variable in class org.apache.mina.common.support.DelegatedIoConnector
-
- DelegatedIoAcceptor - Class in org.apache.mina.common.support
-
- DelegatedIoAcceptor() - Constructor for class org.apache.mina.common.support.DelegatedIoAcceptor
-
Creates a new instance.
- DelegatedIoConnector - Class in org.apache.mina.common.support
-
- DelegatedIoConnector() - Constructor for class org.apache.mina.common.support.DelegatedIoConnector
-
Creates a new instance.
- DemuxingIoHandler - Class in org.apache.mina.handler.demux
-
- DemuxingIoHandler() - Constructor for class org.apache.mina.handler.demux.DemuxingIoHandler
-
- DemuxingProtocolCodecFactory - Class in org.apache.mina.filter.codec.demux
-
- DemuxingProtocolCodecFactory() - Constructor for class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
- destroy() - Method in interface org.apache.mina.common.IoFilter
-
- destroy() - Method in class org.apache.mina.common.IoFilterAdapter
-
- destroy() - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- dispose() - Method in interface org.apache.mina.common.ByteBufferAllocator
-
Dispose of this allocator.
- dispose() - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Stops the thread which releases unused buffers and make this allocator unusable from now on.
- dispose() - Method in class org.apache.mina.common.SimpleByteBufferAllocator
-
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
-
Releases the cumulative buffer used by the specified session.
- dispose(IoSession) - Method in interface org.apache.mina.filter.codec.ProtocolDecoder
-
Releases all resources related with this decoder.
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolDecoderAdapter
-
Override this method to dispose all resources related with this decoder.
- dispose(IoSession) - Method in interface org.apache.mina.filter.codec.ProtocolEncoder
-
Releases all resources related with this encoder.
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolEncoderAdapter
-
Override this method dispose all resources related with this encoder.
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.SynchronizedProtocolEncoder
-
- dispose(IoSession) - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
- dispose() - Method in class org.apache.mina.filter.codec.textline.TextLineEncoder
-
- disposeCodecResources(IoSession) - Method in class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
Implement this method to release all resources acquired to perform
encoding and decoding messages for the specified session.
- doClose(IoSession) - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- doClose(IoSession) - Method in class org.apache.mina.transport.vmpipe.support.VmPipeFilterChain
-
- doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.filter.codec.CumulativeProtocolDecoder
-
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
- doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
- doFlush(ByteBuffer) - Method in class org.apache.mina.filter.codec.support.SimpleProtocolEncoderOutput
-
- doWrite(IoSession, IoFilter.WriteRequest) - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- doWrite(IoSession, IoFilter.WriteRequest) - Method in class org.apache.mina.transport.vmpipe.support.VmPipeFilterChain
-
- duplicate() - Method in class org.apache.mina.common.ByteBuffer
-
- duplicate() - Method in class org.apache.mina.common.ByteBufferProxy
-
- get() - Method in class org.apache.mina.common.ByteBuffer
-
- get(int) - Method in class org.apache.mina.common.ByteBuffer
-
- get(byte[], int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- get(byte[]) - Method in class org.apache.mina.common.ByteBuffer
-
- get() - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(byte[], int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(byte[]) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(String) - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- get(String) - Method in interface org.apache.mina.common.IoFilterChain
-
Returns the
IoFilter
with the specified
name in this chain.
- get(String) - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- get() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- get(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- get(byte[], int, int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- get(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- get(Object) - Method in class org.apache.mina.util.ExpiringMap
-
- getAcceptor() - Method in class org.apache.mina.transport.vmpipe.support.VmPipe
-
- getAddress() - Method in class org.apache.mina.transport.vmpipe.support.VmPipe
-
- getAll() - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getAll() - Method in interface org.apache.mina.common.IoFilterChain
-
- getAll() - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- getAll() - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getAllocator() - Static method in class org.apache.mina.common.ByteBuffer
-
Returns the current allocator which manages the allocated buffers.
- getAllReversed() - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getAllReversed() - Method in interface org.apache.mina.common.IoFilterChain
-
- getAllReversed() - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- getAllReversed() - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getAttachment() - Method in interface org.apache.mina.common.IoSession
-
Returns an attachment of this session.
- getAttachment() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getAttribute(String) - Method in interface org.apache.mina.common.IoSession
-
Returns the value of user-defined attribute of this session.
- getAttribute(String) - Method in class org.apache.mina.common.support.BaseIoSession
-
- getAttributeKeys() - Method in interface org.apache.mina.common.IoSession
-
Returns the set of keys of all user-defined attributes.
- getAttributeKeys() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getAvailablePorts() - Static method in class org.apache.mina.util.AvailablePortFinder
-
Returns the
Set
of currently available port numbers
(
Integer
).
- getAvailablePorts(int, int) - Static method in class org.apache.mina.util.AvailablePortFinder
-
Returns the
Set
of currently avaliable port numbers (
Integer
)
between the specified port range.
- getBacklog() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- getBufferQueue() - Method in class org.apache.mina.filter.codec.support.SimpleProtocolEncoderOutput
-
- getByteReadThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Bytes read per second
- getBytesReadThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getBytesWrittenThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getByteWrittenThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Bytes written per second
- getChain() - Method in class org.apache.mina.handler.chain.ChainedIoHandler
-
Returns the
IoHandlerCommand
this handler will use to
handle
messageReceived events.
- getChar() - Method in class org.apache.mina.common.ByteBuffer
-
- getChar(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getChar() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getChar(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getChar() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getChar(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getCloseFuture() - Method in interface org.apache.mina.common.IoSession
-
- getCloseFuture() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getCommand() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
Returns the command.
- getConfig() - Method in interface org.apache.mina.common.IoSession
-
Returns the configuration of this session.
- getConfig() - Method in class org.apache.mina.transport.vmpipe.support.VmPipe
-
- getConfig() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getConnectTimeout() - Method in interface org.apache.mina.common.IoConnectorConfig
-
Returns the connect timeout in seconds.
- getConnectTimeout() - Method in class org.apache.mina.common.support.BaseIoConnectorConfig
-
- getConnectTimeoutMillis() - Method in interface org.apache.mina.common.IoConnectorConfig
-
Returns the connect timeout in milliseconds.
- getConnectTimeoutMillis() - Method in class org.apache.mina.common.support.BaseIoConnectorConfig
-
- getCreationTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when this session is created.
- getCreationTime() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getData() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getDecoder() - Method in class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
- getDecoder() - Method in interface org.apache.mina.filter.codec.demux.MessageDecoderFactory
-
Creates a new message decoder.
- getDecoder() - Method in interface org.apache.mina.filter.codec.ProtocolCodecFactory
-
Returns a new (or reusable) instance of
ProtocolDecoder
which
decodes binary or protocol-specific data into message objects.
- getDecoder() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
- getDecoder() - Method in class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
Returns the decoder this decoder is decorating.
- getDecoder() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
- getDecoderMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Returns the allowed maximum size of the line to be decoded.
- getDecoderMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Returns the allowed maximum size of the object to be decoded.
- getDefaultConfig() - Method in interface org.apache.mina.common.IoService
-
Returns the default configuration which is used when you didn't specify
any configuration.
- getDefaultConfig() - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramConnector
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.support.DatagramAcceptorDelegate
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate
-
- getDefaultConfig() - Method in class org.apache.mina.transport.vmpipe.VmPipeAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.transport.vmpipe.VmPipeConnector
-
- getDestination() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returne the destination of this write request.
- getDouble() - Method in class org.apache.mina.common.ByteBuffer
-
- getDouble(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getDouble() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getDouble(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getDouble() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getDouble(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getEncoder() - Method in class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
- getEncoder() - Method in interface org.apache.mina.filter.codec.demux.MessageEncoderFactory
-
Creates a new message encoder.
- getEncoder() - Method in interface org.apache.mina.filter.codec.ProtocolCodecFactory
-
Returns a new (or reusable) instance of
ProtocolEncoder
which
encodes message objects into binary or protocol-specific data.
- getEncoder() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
- getEncoder() - Method in class org.apache.mina.filter.codec.SynchronizedProtocolEncoder
-
Returns the encoder this encoder is decorating.
- getEncoder() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
- getEncoderMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Returns the allowed maximum size of the encoded line.
- getEncoderMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Returns the allowed maximum size of the encoded object.
- getEntry(String) - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getEntry(String) - Method in interface org.apache.mina.common.IoFilterChain
-
- getEntry(String) - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- getEntry(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getEnvelopeType() - Method in class org.apache.mina.common.TransportType
-
- getExecutor() - Method in class org.apache.mina.common.ExecutorThreadModel
-
Returns the underlying
Executor
of this model.
- getExecutor() - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
Returns the underlying
Executor
instance this filter uses.
- getExpirationInterval() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- getExpirationInterval() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- getExpirationInterval() - Method in class org.apache.mina.util.ExpiringMap
-
- getExpirer() - Method in class org.apache.mina.util.ExpiringMap
-
- getFilter() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
Returns the filter.
- getFilterChain() - Method in interface org.apache.mina.common.IoService
-
- getFilterChain() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getFilterChain() - Method in interface org.apache.mina.common.IoSession
-
Returns the filter chain that only affects this session.
- getFilterChain() - Method in class org.apache.mina.common.support.BaseIoService
-
- getFilterChain() - Method in class org.apache.mina.common.support.BaseIoServiceConfig
-
- getFilterChain() - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- getFilterChain() - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- getFilterChain() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getFilterChainBuilder() - Method in interface org.apache.mina.common.IoService
-
- getFilterChainBuilder() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getFilterChainBuilder() - Method in class org.apache.mina.common.support.BaseIoService
-
- getFilterChainBuilder() - Method in class org.apache.mina.common.support.BaseIoServiceConfig
-
- getFilterChainBuilder() - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- getFilterChainBuilder() - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- getFloat() - Method in class org.apache.mina.common.ByteBuffer
-
- getFloat(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getFloat() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getFloat(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getFloat() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getFloat(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getFuture() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returns
WriteFuture
that is associated with this write request.
- getHandler() - Method in interface org.apache.mina.common.IoSession
-
Returns the
IoHandler
which handles this session.
- getHandler(IoSession) - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandlerFactory
-
- getHandler() - Method in class org.apache.mina.transport.vmpipe.support.VmPipe
-
- getHandler() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getHexDump() - Method in class org.apache.mina.common.ByteBuffer
-
Returns hexdump of this buffer.
- getHexDump() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getHexdump(ByteBuffer) - Static method in class org.apache.mina.common.support.ByteBufferHexDumper
-
- getHexdump() - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Returns the hexdump of the unknown message part.
- getIdleCount(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns the number of the fired continuous
sessionIdle events
for the specified
IdleStatus
.
- getIdleCount(IdleStatus) - Method in class org.apache.mina.common.support.BaseIoSession
-
- getIdleTime(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns idle time for the specified type of idleness in seconds.
- getIdleTime(IdleStatus) - Method in class org.apache.mina.common.support.BaseIoSession
-
- getIdleTimeInMillis(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns idle time for the specified type of idleness in milliseconds.
- getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.common.support.BaseIoSession
-
- getInstance() - Static method in class org.apache.mina.common.ExceptionMonitor
-
Returns the current exception monitor.
- getInstance(String) - Static method in class org.apache.mina.common.ExecutorThreadModel
-
- getInstance(int) - Static method in class org.apache.mina.common.TrafficMask
-
Returns an appropriate
TrafficMask
instance from the
specified
interestOps.
- getInstance(String) - Static method in class org.apache.mina.common.TransportType
-
Returns the transport type of the specified name.
- getInstance() - Static method in class org.apache.mina.transport.vmpipe.support.VmPipeIdleStatusChecker
-
- getInt() - Method in class org.apache.mina.common.ByteBuffer
-
- getInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getInt() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getInt() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getInt(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getInterestOps() - Method in class org.apache.mina.common.TrafficMask
-
- getLastIdleTime(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when the last
sessionIdle event
is fired for the specified
IdleStatus
.
- getLastIdleTime(IdleStatus) - Method in class org.apache.mina.common.support.BaseIoSession
-
- getLastIoTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when I/O occurred lastly.
- getLastIoTime() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getLastReadTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when read operation occurred lastly.
- getLastReadTime() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getLastWriteTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when write operation occurred lastly.
- getLastWriteTime() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getListeners() - Method in class org.apache.mina.common.support.BaseIoService
-
- getListeners() - Method in class org.apache.mina.transport.socket.nio.support.DatagramAcceptorDelegate
-
- getListeners() - Method in class org.apache.mina.transport.vmpipe.support.VmPipe
-
- getLocalAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of local machine which is associated with this
session.
- getLocalAddress() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getLock() - Method in interface org.apache.mina.common.IoFuture
-
Returns the lock object this future acquires.
- getLock() - Method in class org.apache.mina.common.support.DefaultIoFuture
-
- getLong() - Method in class org.apache.mina.common.ByteBuffer
-
- getLong(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getLong() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getLong(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getLong() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getLong(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getManagedServiceAddresses() - Method in interface org.apache.mina.common.IoService
-
- getManagedServiceAddresses() - Method in class org.apache.mina.common.support.BaseIoService
-
- getManagedServiceAddresses() - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- getManagedServiceAddresses() - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- getManagedServiceAddresses() - Method in class org.apache.mina.common.support.IoServiceListenerSupport
-
- getManagedSessions(SocketAddress) - Method in interface org.apache.mina.common.IoService
-
Returns all sessions with the specified remote or local address,
which are currently managed by this service.
- getManagedSessions(SocketAddress) - Method in class org.apache.mina.common.support.BaseIoService
-
- getManagedSessions(SocketAddress) - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- getManagedSessions(SocketAddress) - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- getManagedSessions(SocketAddress) - Method in class org.apache.mina.common.support.IoServiceListenerSupport
-
- getMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
Returns the allowed maximum size of the line to be decoded.
- getMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineEncoder
-
Returns the allowed maximum size of the encoded line.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
Returns the allowed maximum size of the object to be decoded.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationEncoder
-
Returns the allowed maximum size of the encoded object.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
Returns the allowed maximum size of the object to be decoded.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationOutputStream
-
Returns the allowed maximum size of the encoded object.
- getMessage() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returns a message object to be written.
- getMessage() - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Returns the message and the hexdump of the unknown part.
- getMessageHandler(Class<E>) - Method in class org.apache.mina.handler.demux.DemuxingIoHandler
-
Returns the
MessageHandler
which is registered to process
the specified
type
.
- getMessageHandlerMap() - Method in class org.apache.mina.handler.demux.DemuxingIoHandler
-
Returns the
Map
which contains all messageType-
MessageHandler
pairs registered to this handler.
- getMessageReadThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Messages read per second
- getMessageTypes() - Method in interface org.apache.mina.filter.codec.demux.MessageEncoder
-
Returns the set of message classes this encoder can encode.
- getMessageWrittenThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Messages written per second
- getMsgReadThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getMsgWrittenThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getName() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
Returns the name of the filter.
- getName() - Method in class org.apache.mina.common.TrafficMask
-
Returns the name of this mask.
- getName() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
Returns the name of the command.
- getNames() - Method in class org.apache.mina.common.TransportType
-
Returns the known names of this transport type.
- getNextAvailable() - Static method in class org.apache.mina.util.AvailablePortFinder
-
Gets the next available port starting at the lowest port number.
- getNextAvailable(int) - Static method in class org.apache.mina.util.AvailablePortFinder
-
Gets the next available port starting at a port.
- getNextCommand() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
- getNextCommand(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getNextFilter() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
- getNextFilter(String) - Method in interface org.apache.mina.common.IoFilterChain
-
- getNextFilter(String) - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- getNextFilter() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getObject() - Method in class org.apache.mina.common.ByteBuffer
-
Reads a Java object from the buffer using the context
ClassLoader
of the current thread.
- getObject(ClassLoader) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a Java object from the buffer using the specified classLoader.
- getObject() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getObject(ClassLoader) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getPort() - Method in class org.apache.mina.transport.vmpipe.VmPipeAddress
-
Returns the port number.
- getPrefixedString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a string which has a 16-bit length field before the actual
encoded string, using the specified decoder
and returns it.
- getPrefixedString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a string which has a length field before the actual
encoded string, using the specified decoder
and returns it.
- getPrefixedString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getPrefixedString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getReadBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of bytes which were read from this session.
- getReadBytes() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getReadMessages() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of messages which were read and decoded from this session.
- getReadMessages() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getReadTimeout() - Method in class org.apache.mina.handler.StreamIoHandler
-
Returns read timeout in seconds.
- getReceiveBufferSize() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getReceiveBufferSize() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getReceiveBufferSize() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getReceiveBufferSize() - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- getRemoteAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of remote peer.
- getRemoteAddress() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getRemoteSession() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getScheduledWriteBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the number of bytes which are scheduled to be written to this
session.
- getScheduledWriteBytes() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getScheduledWriteRequests() - Method in interface org.apache.mina.common.IoSession
-
Returns the number of write requests which are scheduled to be written
to this session.
- getScheduledWriteRequests() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getSendBufferSize() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getSendBufferSize() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getSendBufferSize() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getSendBufferSize() - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- getService() - Method in interface org.apache.mina.common.IoSession
-
Returns the
IoService
which provides I/O service to this session.
- getService() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getServiceAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of the
IoService
listens to to manage
this session.
- getServiceAddress() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getServiceConfig() - Method in interface org.apache.mina.common.IoSession
-
- getServiceConfig() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getSession() - Method in interface org.apache.mina.common.ConnectFuture
-
Returns
IoSession
which is the result of connect operation.
- getSession() - Method in interface org.apache.mina.common.IoFilterChain
-
- getSession() - Method in interface org.apache.mina.common.IoFuture
-
Returns the
IoSession
which is associated with this future.
- getSession() - Method in class org.apache.mina.common.support.AbstractIoFilterChain
-
- getSession() - Method in class org.apache.mina.common.support.DefaultConnectFuture
-
- getSession() - Method in class org.apache.mina.common.support.DefaultIoFuture
-
- getSession() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
Retrieves the session to which this handler is assigned.
- getSessionConfig() - Method in interface org.apache.mina.common.IoServiceConfig
-
Resturns the default configuration of the new
IoSession
s.
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- getSessionConfig() - Method in interface org.apache.mina.transport.socket.nio.DatagramServiceConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.SocketConnectorConfig
-
- getSessionCount() - Method in class org.apache.mina.management.StatCollector
-
- getSessionRecycler() - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- getSessionRecycler() - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- getSessionRecycler() - Method in interface org.apache.mina.transport.socket.nio.DatagramServiceConfig
-
- getShort() - Method in class org.apache.mina.common.ByteBuffer
-
- getShort(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getShort() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getShort(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getShort() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getShort(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- getSoLinger() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
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.socket.nio.SocketSessionConfigImpl
-
- getString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a NUL
-terminated string from this buffer using the
specified decoder
and returns it.
- getString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a NUL
-terminated string from this buffer using the
specified decoder
and returns it.
- getString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getThreadModel() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getThreadModel() - Method in class org.apache.mina.common.support.BaseIoServiceConfig
-
- getTimeout() - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Returns the timeout value of this allocator in seconds.
- getTimeoutMillis() - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Returns the timeout value of this allocator in milliseconds.
- getTimeToLive() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- getTimeToLive() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- getTimeToLive() - Method in class org.apache.mina.util.ExpiringMap
-
- getTotalProcessedSessions() - Method in class org.apache.mina.management.StatCollector
-
total number of sessions processed by the stat collector
- getTrafficClass() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getTrafficClass() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getTrafficClass() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getTrafficClass() - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- getTrafficMask() - Method in interface org.apache.mina.common.IoSession
-
- getTrafficMask() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getTransportType() - Method in interface org.apache.mina.common.IoSession
-
Returns transport type of this session.
- getTransportType() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeSessionImpl
-
- getType() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getUnsigned() - Method in class org.apache.mina.common.ByteBuffer
-
Reads one unsigned byte as a short integer.
- getUnsigned(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads one byte as an unsigned short integer.
- getUnsigned() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsigned(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedInt() - Method in class org.apache.mina.common.ByteBuffer
-
Reads four bytes unsigned integer.
- getUnsignedInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads four bytes unsigned integer.
- getUnsignedInt() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedShort() - Method in class org.apache.mina.common.ByteBuffer
-
Reads two bytes unsigned integer.
- getUnsignedShort(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads two bytes unsigned integer.
- getUnsignedShort() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedShort(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getValue() - Method in class org.apache.mina.common.support.DefaultIoFuture
-
Returns the result of the asynchronous operation.
- getValue() - Method in class org.apache.mina.filter.codec.textline.LineDelimiter
-
Return the delimiter string.
- getWorkerTimeout() - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
How many seconds to keep the connection thread alive between connection requests
- getWriteBufferSize() - Method in class org.apache.mina.filter.StreamWriteFilter
-
Returns the size of the write buffer in bytes.
- getWriteTimeout() - Method in interface org.apache.mina.common.IoSession
-
Returns write timeout in seconds.
- getWriteTimeout() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getWriteTimeout() - Method in class org.apache.mina.handler.StreamIoHandler
-
Returns write timeout in seconds.
- getWriteTimeoutInMillis() - Method in interface org.apache.mina.common.IoSession
-
Returns write timeout in milliseconds.
- getWriteTimeoutInMillis() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getWrittenBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of bytes which were written to this session.
- getWrittenBytes() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getWrittenMessages() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of messages which were written and encoded by this session.
- getWrittenMessages() - Method in class org.apache.mina.common.support.BaseIoSession
-
- getWrittenWriteRequests() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of write requests which were written to this session.
- getWrittenWriteRequests() - Method in class org.apache.mina.common.support.BaseIoSession
-
- ObjectSerializationCodecFactory - Class in org.apache.mina.filter.codec.serialization
-
- ObjectSerializationCodecFactory() - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Creates a new instance with the
ClassLoader
of
the current thread.
- ObjectSerializationCodecFactory(ClassLoader) - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
- ObjectSerializationDecoder - Class in org.apache.mina.filter.codec.serialization
-
- ObjectSerializationDecoder() - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
Creates a new instance with the
ClassLoader
of
the current thread.
- ObjectSerializationDecoder(ClassLoader) - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
- ObjectSerializationEncoder - Class in org.apache.mina.filter.codec.serialization
-
- ObjectSerializationEncoder() - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationEncoder
-
Creates a new instance.
- ObjectSerializationInputStream - Class in org.apache.mina.filter.codec.serialization
-
- ObjectSerializationInputStream(InputStream) - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
- ObjectSerializationInputStream(InputStream, ClassLoader) - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
- ObjectSerializationOutputStream - Class in org.apache.mina.filter.codec.serialization
-
- ObjectSerializationOutputStream(OutputStream) - Constructor for class org.apache.mina.filter.codec.serialization.ObjectSerializationOutputStream
-
- OK - Static variable in interface org.apache.mina.filter.codec.demux.MessageDecoder
-
- OK - Static variable in class org.apache.mina.filter.codec.demux.MessageDecoderResult
-
- onPostAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in interface org.apache.mina.common.IoFilter
-
Invoked after this filter is added to the specified parent.
- onPostAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.common.IoFilterAdapter
-
- onPostAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- onPostRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in interface org.apache.mina.common.IoFilter
-
Invoked after this filter is removed from the specified parent.
- onPostRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.common.IoFilterAdapter
-
- onPostRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- onPostRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- onPreAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in interface org.apache.mina.common.IoFilter
-
Invoked before this filter is added to the specified parent.
- onPreAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.common.IoFilterAdapter
-
- onPreAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- onPreAdd(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- onPreRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in interface org.apache.mina.common.IoFilter
-
Invoked before this filter is removed from the specified parent.
- onPreRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.common.IoFilterAdapter
-
- onPreRemove(IoFilterChain, String, IoFilter.NextFilter) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- OPENED - Static variable in class org.apache.mina.filter.executor.ExecutorFilter.EventType
-
- operationComplete(IoFuture) - Method in interface org.apache.mina.common.IoFutureListener
-
Invoked when the operation associated with the
IoFuture
has been completed.
- or(TrafficMask) - Method in class org.apache.mina.common.TrafficMask
-
Peforms an OR operation on this mask with the specified
mask and returns the result.
- order() - Method in class org.apache.mina.common.ByteBuffer
-
- order(ByteOrder) - Method in class org.apache.mina.common.ByteBuffer
-
- order() - Method in class org.apache.mina.common.ByteBufferProxy
-
- order(ByteOrder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- order() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- order(ByteOrder) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- org.apache.mina.common - package org.apache.mina.common
-
Common types required for users to use MINA.
- org.apache.mina.common.support - package org.apache.mina.common.support
-
Internal classes used by org.apache.mina.common package.
- org.apache.mina.filter - package org.apache.mina.filter
-
Useful IoFilter implementations.
- org.apache.mina.filter.codec - package org.apache.mina.filter.codec
-
Filter implementations that helps you to implement complex protocols
via 'codec' concept.
- org.apache.mina.filter.codec.demux - package org.apache.mina.filter.codec.demux
-
Protocol codecs that helps you to implement even more complex protocols by
splitting a codec into multiple sub-codecs.
- org.apache.mina.filter.codec.serialization - package org.apache.mina.filter.codec.serialization
-
Protocol codecs which uses Java object serilization and leads to rapid protocol
implementation.
- org.apache.mina.filter.codec.support - package org.apache.mina.filter.codec.support
-
Internal classes used by org.apache.mina.filter.codec package.
- org.apache.mina.filter.codec.textline - package org.apache.mina.filter.codec.textline
-
A protocol codec for text-based protocols.
- org.apache.mina.filter.executor - package org.apache.mina.filter.executor
-
An IoFilter that provides flexible thread models
- org.apache.mina.handler - package org.apache.mina.handler
-
Useful IoHandler implementations.
- org.apache.mina.handler.chain - package org.apache.mina.handler.chain
-
A handler implementation that helps you implement sequentially layered protocols
using Chains of Responsibility pattern.
- org.apache.mina.handler.demux - package org.apache.mina.handler.demux
-
A handler implementation that helps you implement complex protocols
by splitting messageReceived handlers into multiple sub-handlers.
- org.apache.mina.handler.multiton - package org.apache.mina.handler.multiton
-
Enables creating a handler per session instead of having one handler for many
sessions, using
Multiton pattern.
- org.apache.mina.handler.support - package org.apache.mina.handler.support
-
Internal classes used by org.apache.mina.handler package.
- org.apache.mina.management - package org.apache.mina.management
-
Utilities that manage and monitor a MINA application.
- org.apache.mina.transport.socket.nio - package org.apache.mina.transport.socket.nio
-
- org.apache.mina.transport.socket.nio.support - package org.apache.mina.transport.socket.nio.support
-
Internal classes used by org.apache.mina.transport.socket.nio package.
- org.apache.mina.transport.vmpipe - package org.apache.mina.transport.vmpipe
-
In-VM pipe support which removes the overhead of local loopback communication.
- org.apache.mina.transport.vmpipe.support - package org.apache.mina.transport.vmpipe.support
-
Internal classes used by org.apache.mina.transport.vmpipe package.
- org.apache.mina.util - package org.apache.mina.util
-
Miscellaneous utility classes
- PooledByteBufferAllocator - Class in org.apache.mina.common
-
- PooledByteBufferAllocator() - Constructor for class org.apache.mina.common.PooledByteBufferAllocator
-
Creates a new instance with the default timeout.
- PooledByteBufferAllocator(int) - Constructor for class org.apache.mina.common.PooledByteBufferAllocator
-
Creates a new instance with the specified timeout.
- pop() - Method in class org.apache.mina.util.ExpiringStack
-
Pops from this stack.
- pop() - Method in class org.apache.mina.util.Stack
-
Pops from this stack.
- position() - Method in class org.apache.mina.common.ByteBuffer
-
- position(int) - Method in class org.apache.mina.common.ByteBuffer
-
- position() - Method in class org.apache.mina.common.ByteBufferProxy
-
- position(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- position() - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- position(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- PREFIX - Static variable in class org.apache.mina.filter.LoggingFilter
-
Session attribute key: prefix string
- PREFIX - Static variable in class org.apache.mina.util.SessionLog
-
Session attribute key: prefix string
- prefixedDataAvailable(int) - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field.
- prefixedDataAvailable(int, int) - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field.
- processEvent(IoFilter.NextFilter, IoSession, ExecutorFilter.EventType, Object) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- processStreamIo(IoSession, InputStream, OutputStream) - Method in class org.apache.mina.handler.StreamIoHandler
-
Implement this method to execute your stream I/O logic;
please note that you must forward the process request to other
thread or thread pool.
- ProtocolCodecException - Exception in org.apache.mina.filter.codec
-
- ProtocolCodecException() - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance.
- ProtocolCodecException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified message.
- ProtocolCodecException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified cause.
- ProtocolCodecException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolCodecFactory - Interface in org.apache.mina.filter.codec
-
- ProtocolCodecFilter - Class in org.apache.mina.filter.codec
-
- ProtocolCodecFilter(ProtocolCodecFactory) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolCodecFilter(ProtocolEncoder, ProtocolDecoder) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolCodecFilter(Class<? extends ProtocolEncoder>, Class<? extends ProtocolDecoder>) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolDecoder - Interface in org.apache.mina.filter.codec
-
Decodes binary or protocol-specific data into higher-level message objects.
- ProtocolDecoderAdapter - Class in org.apache.mina.filter.codec
-
- ProtocolDecoderAdapter() - Constructor for class org.apache.mina.filter.codec.ProtocolDecoderAdapter
-
- ProtocolDecoderException - Exception in org.apache.mina.filter.codec
-
- ProtocolDecoderException() - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance.
- ProtocolDecoderException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified message.
- ProtocolDecoderException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified cause.
- ProtocolDecoderException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolDecoderOutput - Interface in org.apache.mina.filter.codec
-
- ProtocolEncoder - Interface in org.apache.mina.filter.codec
-
Encodes higher-level message objects into binary or protocol-specific data.
- ProtocolEncoderAdapter - Class in org.apache.mina.filter.codec
-
An abstract
ProtocolEncoder
implementation for those who don't have any
resources to dispose.
- ProtocolEncoderAdapter() - Constructor for class org.apache.mina.filter.codec.ProtocolEncoderAdapter
-
- ProtocolEncoderException - Exception in org.apache.mina.filter.codec
-
An exception that is thrown when
ProtocolEncoder
cannot understand or failed to validate the specified message object.
- ProtocolEncoderException() - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance.
- ProtocolEncoderException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified message.
- ProtocolEncoderException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified cause.
- ProtocolEncoderException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolEncoderOutput - Interface in org.apache.mina.filter.codec
-
- push(Object) - Method in class org.apache.mina.util.ExpiringStack
-
Push into this stack.
- push(Object) - Method in class org.apache.mina.util.Stack
-
Push into this stack.
- put(byte) - Method in class org.apache.mina.common.ByteBuffer
-
- put(int, byte) - Method in class org.apache.mina.common.ByteBuffer
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of the specified src into this buffer.
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of the specified src into this buffer.
- put(byte[], int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- put(byte[]) - Method in class org.apache.mina.common.ByteBuffer
-
- put(byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(int, byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(byte[], int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(byte[]) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(IoSession) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- put(IoSession) - Method in interface org.apache.mina.common.IoSessionRecycler
-
Called when the underlying transport creates or writes a new
IoSession
.
- put(byte) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- put(int, byte) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- put(ByteBuffer) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- put(byte[], int, int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- put(K, V) - Method in class org.apache.mina.util.ExpiringMap
-
- putAll(Map<? extends K, ? extends V>) - Method in class org.apache.mina.util.ExpiringMap
-
- putChar(char) - Method in class org.apache.mina.common.ByteBuffer
-
- putChar(int, char) - Method in class org.apache.mina.common.ByteBuffer
-
- putChar(char) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putChar(int, char) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putChar(char) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putChar(int, char) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putDouble(double) - Method in class org.apache.mina.common.ByteBuffer
-
- putDouble(int, double) - Method in class org.apache.mina.common.ByteBuffer
-
- putDouble(double) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putDouble(int, double) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putDouble(double) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putDouble(int, double) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putFloat(float) - Method in class org.apache.mina.common.ByteBuffer
-
- putFloat(int, float) - Method in class org.apache.mina.common.ByteBuffer
-
- putFloat(float) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putFloat(int, float) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putFloat(float) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putFloat(int, float) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
- putInt(int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- putInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putInt(int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putInt(int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putInt(int, int) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putLong(long) - Method in class org.apache.mina.common.ByteBuffer
-
- putLong(int, long) - Method in class org.apache.mina.common.ByteBuffer
-
- putLong(long) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putLong(int, long) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putLong(long) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putLong(int, long) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putObject(Object) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the specified Java object to the buffer.
- putObject(Object) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, int, byte, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, int, byte, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putShort(short) - Method in class org.apache.mina.common.ByteBuffer
-
- putShort(int, short) - Method in class org.apache.mina.common.ByteBuffer
-
- putShort(short) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putShort(int, short) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putShort(short) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putShort(int, short) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- putString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer using the
specified encoder
.
- putString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
NUL
-terminated string using the specified
encoder
.
- putString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- SENT - Static variable in class org.apache.mina.filter.executor.ExecutorFilter.EventType
-
- serviceActivated(IoService, SocketAddress, IoHandler, IoServiceConfig) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a new service is activated by an
IoService
.
- serviceDeactivated(IoService, SocketAddress, IoHandler, IoServiceConfig) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a service is deactivated by an
IoService
.
- sessionClosed(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionClosed event to next filter.
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionClosed(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionClosed() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is closed.
- sessionClosed() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionClosed(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionClosed(IoSession) - Method in class org.apache.mina.handler.StreamIoHandler
-
Closes streams
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionCreated event to next filter.
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked from an I/O processor thread when a new connection has been created.
- sessionCreated(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a new session is created by an
IoService
.
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionCreated() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the session is created.
- sessionCreated() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionCreated(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
Creates a new instance with the factory passed to the constructor of
this class.
- sessionDestroyed(IoSession) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a session is being destroyed by an
IoService
.
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionIdle event to next filter.
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoHandler
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionIdle(IdleStatus) - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is idle.
- sessionIdle(IdleStatus) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.handler.StreamIoHandler
-
Handles read timeout.
- SessionLog - Class in org.apache.mina.util
-
Provides utility methods to log protocol-specific messages.
- SessionLog() - Constructor for class org.apache.mina.util.SessionLog
-
- sessionOpened(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionOpened event to next filter.
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionOpened(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionOpened() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is opened.
- sessionOpened() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionOpened(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionOpened(IoSession) - Method in class org.apache.mina.handler.StreamIoHandler
-
Initializes streams and timeout settings.
- SessionUtil - Class in org.apache.mina.util
-
A session utility
- setAllocator(ByteBufferAllocator) - Static method in class org.apache.mina.common.ByteBuffer
-
Changes the current allocator with the specified one to manage
the allocated buffers from now.
- setAttachment(Object) - Method in interface org.apache.mina.common.IoSession
-
Sets an attachment of this session.
- setAttachment(Object) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setAttribute(String, Object) - Method in interface org.apache.mina.common.IoSession
-
Sets a user-defined attribute.
- setAttribute(String) - Method in interface org.apache.mina.common.IoSession
-
Sets a user defined attribute without a value.
- setAttribute(String, Object) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setAttribute(String) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setAutoExpand(boolean) - Method in class org.apache.mina.common.ByteBuffer
-
Turns on or off autoExpand.
- setAutoExpand(boolean) - Method in class org.apache.mina.common.ByteBufferProxy
-
- setAutoExpand(boolean) - Method in class org.apache.mina.common.support.BaseByteBuffer
-
- setBacklog(int) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- setBlacklist(InetAddress...) - Method in class org.apache.mina.filter.BlacklistFilter
-
Sets the addresses to be blacklisted.
- setBlacklist(Collection<InetAddress>) - Method in class org.apache.mina.filter.BlacklistFilter
-
Sets the addresses to be blacklisted.
- setBroadcast(boolean) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setBroadcast(boolean) - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- setClosed() - Method in interface org.apache.mina.common.CloseFuture
-
Marks this future as closed and notifies all threads waiting for this
future.
- setClosed() - Method in class org.apache.mina.common.support.DefaultCloseFuture
-
- setConnectTimeout(int) - Method in interface org.apache.mina.common.IoConnectorConfig
-
Sets the connect timeout in seconds.
- setConnectTimeout(int) - Method in class org.apache.mina.common.support.BaseIoConnectorConfig
-
- setDecoderMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Sets the allowed maximum size of the line to be decoded.
- setDecoderMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Sets the allowed maximum size of the object to be decoded.
- setDefaultConfig(DatagramAcceptorConfig) - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptor
-
Sets the config this acceptor will use by default.
- setDefaultConfig(DatagramConnectorConfig) - Method in class org.apache.mina.transport.socket.nio.DatagramConnector
-
Sets the default config this connector should use.
- setDefaultConfig(SocketAcceptorConfig) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Sets the config this acceptor will use by default.
- setDefaultConfig(SocketConnectorConfig) - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
Sets the config this connector will use by default.
- setDefaultConfig(DatagramAcceptorConfig) - Method in class org.apache.mina.transport.socket.nio.support.DatagramAcceptorDelegate
-
Sets the config this acceptor will use by default.
- setDefaultConfig(DatagramConnectorConfig) - Method in class org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate
-
Sets the config this connector will use by default.
- setDisconnectOnUnbind(boolean) - Method in interface org.apache.mina.common.IoAcceptorConfig
-
Sets whether all clients are disconnected when this acceptor unbinds the
related local address.
- setDisconnectOnUnbind(boolean) - Method in class org.apache.mina.common.support.BaseIoAcceptorConfig
-
- setEncoderMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Sets the allowed maximum size of the encoded line.
- setEncoderMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Sets the allowed maximum size of the encoded object.
- setException(Throwable) - Method in interface org.apache.mina.common.ConnectFuture
-
Sets the exception caught due to connection failure and notifies all
threads waiting for this future.
- setException(Throwable) - Method in class org.apache.mina.common.support.DefaultConnectFuture
-
- setExecutor(Executor) - Method in class org.apache.mina.common.ExecutorThreadModel
-
Changes the underlying
Executor
of this model.
- setExpirationInterval(int) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- setExpirationInterval(long) - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- setExpirationInterval(int) - Method in class org.apache.mina.util.ExpiringMap
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in interface org.apache.mina.common.IoService
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in interface org.apache.mina.common.IoServiceConfig
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in class org.apache.mina.common.support.BaseIoService
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in class org.apache.mina.common.support.BaseIoServiceConfig
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in class org.apache.mina.common.support.DelegatedIoAcceptor
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in class org.apache.mina.common.support.DelegatedIoConnector
-
- setHexdump(String) - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Sets the hexdump of the unknown message part.
- setIdleTime(IdleStatus, int) - Method in interface org.apache.mina.common.IoSession
-
Sets idle time for the specified type of idleness in seconds.
- setIdleTime(IdleStatus, int) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setInstance(ExceptionMonitor) - Static method in class org.apache.mina.common.ExceptionMonitor
-
Sets the uncaught exception monitor.
- setKeepAlive(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setKeepAlive(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setMaximumConnectionBufferSize(int) - Method in class org.apache.mina.filter.ReadThrottleFilterBuilder
-
Set the maximum amount of data to buffer in the ThreadPoolFilter prior to disabling
reads.
- setMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
Sets the allowed maximum size of the line to be decoded.
- setMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineEncoder
-
Sets the allowed maximum size of the encoded line.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
Sets the allowed maximum size of the object to be decoded.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationEncoder
-
Sets the allowed maximum size of the encoded object.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
Sets the allowed maximum size of the object to be decoded.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationOutputStream
-
Sets the allowed maximum size of the encoded object.
- setOobInline(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setOobInline(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setPooled(boolean) - Method in class org.apache.mina.common.ByteBuffer
-
Sets whether this buffer is returned back to the buffer pool when released.
- setPooled(boolean) - Method in class org.apache.mina.common.ByteBufferProxy
-
- setReadTimeout(int) - Method in class org.apache.mina.handler.StreamIoHandler
-
Sets read timeout in seconds.
- setReceiveBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setReceiveBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setReceiveBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setReceiveBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- setReuseAddress(boolean) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- setReuseAddress(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- setScheduledForFlush(boolean) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setSendBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setSendBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setSendBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setSendBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- setSession(IoSession) - Method in interface org.apache.mina.common.ConnectFuture
-
Sets the newly connected session and notifies all threads waiting for
this future.
- setSession(IoSession) - Method in class org.apache.mina.common.support.DefaultConnectFuture
-
- setSessionRecycler(IoSessionRecycler) - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- setSessionRecycler(IoSessionRecycler) - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- setSessionRecycler(IoSessionRecycler) - Method in interface org.apache.mina.transport.socket.nio.DatagramServiceConfig
-
- setSoLinger(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
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.socket.nio.SocketSessionConfigImpl
-
- setTcpNoDelay(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setThreadModel(ThreadModel) - Method in interface org.apache.mina.common.IoServiceConfig
-
- setThreadModel(ThreadModel) - Method in class org.apache.mina.common.support.BaseIoServiceConfig
-
- setTimeout(int) - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Sets the timeout value of this allocator in seconds.
- setTimeToLive(int) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- setTimeToLive(long) - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- setTimeToLive(int) - Method in class org.apache.mina.util.ExpiringMap
-
- setTrafficClass(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setTrafficClass(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setTrafficClass(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setTrafficClass(int) - Method in class org.apache.mina.transport.socket.nio.support.DatagramSessionConfigImpl
-
- setTrafficMask(TrafficMask) - Method in interface org.apache.mina.common.IoSession
-
Sets the
TrafficMask
of this session which will result
the parent
IoService
to start to control the traffic
of this session immediately.
- setTrafficMask(TrafficMask) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setUseDirectBuffers(boolean) - Static method in class org.apache.mina.common.ByteBuffer
-
- setValue(Object) - Method in class org.apache.mina.common.support.DefaultIoFuture
-
Sets the result of the asynchronous operation, and mark it as finished.
- setWorkerTimeout(int) - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
Set how many seconds the connection worker thread should remain alive once idle before terminating itself.
- setWriteBufferSize(int) - Method in class org.apache.mina.filter.StreamWriteFilter
-
Sets the size of the write buffer in bytes.
- setWriteTimeout(int) - Method in interface org.apache.mina.common.IoSession
-
Sets write timeout in seconds.
- setWriteTimeout(int) - Method in class org.apache.mina.common.support.BaseIoSession
-
- setWriteTimeout(int) - Method in class org.apache.mina.handler.StreamIoHandler
-
Sets write timeout in seconds.
- setWritten(boolean) - Method in class org.apache.mina.common.support.DefaultWriteFuture
-
- setWritten(boolean) - Method in interface org.apache.mina.common.WriteFuture
-
Sets whether the message is written or not, and notifies all threads
waiting for this future.
- SimpleByteBufferAllocator - Class in org.apache.mina.common
-
- SimpleByteBufferAllocator() - Constructor for class org.apache.mina.common.SimpleByteBufferAllocator
-
- SimpleProtocolDecoderOutput - Class in org.apache.mina.filter.codec.support
-
- SimpleProtocolDecoderOutput(IoSession, IoFilter.NextFilter) - Constructor for class org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput
-
- SimpleProtocolEncoderOutput - Class in org.apache.mina.filter.codec.support
-
- SimpleProtocolEncoderOutput() - Constructor for class org.apache.mina.filter.codec.support.SimpleProtocolEncoderOutput
-
- SingleSessionIoHandler - Interface in org.apache.mina.handler.multiton
-
A session handler without an
IoSession
parameter for simplicity.
- SingleSessionIoHandlerAdapter - Class in org.apache.mina.handler.multiton
-
- SingleSessionIoHandlerAdapter(IoSession) - Constructor for class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
Creates a new instance that is assigned to the passed in session.
- SingleSessionIoHandlerDelegate - Class in org.apache.mina.handler.multiton
-
- SingleSessionIoHandlerDelegate(SingleSessionIoHandlerFactory) - Constructor for class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- SingleSessionIoHandlerFactory - Interface in org.apache.mina.handler.multiton
-
- size() - Method in class org.apache.mina.util.ExpiringMap
-
- size() - Method in class org.apache.mina.util.ExpiringStack
-
Returns the number of elements in the stack.
- size() - Method in class org.apache.mina.util.IdentityHashSet
-
- size() - Method in class org.apache.mina.util.Stack
-
Returns the number of elements in the stack.
- skip(int) - Method in class org.apache.mina.common.ByteBuffer
-
Forwards the position of this buffer as the specified size
bytes.
- skip(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- skipBytes(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
- slice() - Method in class org.apache.mina.common.ByteBuffer
-
- slice() - Method in class org.apache.mina.common.ByteBufferProxy
-
- SOCKET - Static variable in class org.apache.mina.common.TransportType
-
Transport type: TCP/IP (Registry name: "SOCKET" or "TCP")
- SocketAcceptor - Class in org.apache.mina.transport.socket.nio
-
- SocketAcceptor() - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Create an acceptor with a single processing thread using a NewThreadExecutor
- SocketAcceptor(int, Executor) - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Create an acceptor with the desired number of processing threads
- SocketAcceptorConfig - Class in org.apache.mina.transport.socket.nio
-
- SocketAcceptorConfig() - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
Creates a new instance.
- SocketConnector - Class in org.apache.mina.transport.socket.nio
-
- SocketConnector() - Constructor for class org.apache.mina.transport.socket.nio.SocketConnector
-
Create a connector with a single processing thread using a NewThreadExecutor
- SocketConnector(int, Executor) - Constructor for class org.apache.mina.transport.socket.nio.SocketConnector
-
Create a connector with the desired number of processing threads
- SocketConnectorConfig - Class in org.apache.mina.transport.socket.nio
-
- SocketConnectorConfig() - Constructor for class org.apache.mina.transport.socket.nio.SocketConnectorConfig
-
Creates a new instance.
- SocketSessionConfig - Interface in org.apache.mina.transport.socket.nio
-
- SocketSessionConfigImpl - Class in org.apache.mina.transport.socket.nio
-
- SocketSessionConfigImpl() - Constructor for class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
Creates a new instance.
- Stack - Class in org.apache.mina.util
-
A unbounded stack.
- Stack() - Constructor for class org.apache.mina.util.Stack
-
Construct a new, empty stack.
- start() - Method in class org.apache.mina.management.StatCollector
-
Start collecting stats for the
IoSession
of the service.
- start() - Method in class org.apache.mina.transport.vmpipe.support.VmPipeFilterChain
-
- startExpiring() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- startExpiringIfNotStarted() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- StatCollector - Class in org.apache.mina.management
-
- StatCollector(IoService) - Constructor for class org.apache.mina.management.StatCollector
-
Create a stat collector for the given service with a default polling time of 5 seconds.
- StatCollector(IoService, int) - Constructor for class org.apache.mina.management.StatCollector
-
create a stat collector for the given given service
- stop() - Method in class org.apache.mina.management.StatCollector
-
Stop collecting stats.
- stopExpiring() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- stopExpiring() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- StreamIoHandler - Class in org.apache.mina.handler
-
A
IoHandler
that adapts asynchronous MINA events to stream I/O.
- StreamIoHandler() - Constructor for class org.apache.mina.handler.StreamIoHandler
-
- StreamWriteFilter - Class in org.apache.mina.filter
-
- StreamWriteFilter() - Constructor for class org.apache.mina.filter.StreamWriteFilter
-
- SUSPENDED_READS - Static variable in class org.apache.mina.filter.ReadThrottleFilterBuilder
-
- suspendRead() - Method in interface org.apache.mina.common.IoSession
-
- suspendRead() - Method in class org.apache.mina.common.support.BaseIoSession
-
- suspendWrite() - Method in interface org.apache.mina.common.IoSession
-
- suspendWrite() - Method in class org.apache.mina.common.support.BaseIoSession
-
- sweep() - Method in class org.apache.mina.common.ByteBuffer
-
Clears this buffer and fills its content with NUL.
- sweep(byte) - Method in class org.apache.mina.common.ByteBuffer
-
Clears this buffer and fills its content with value.
- sweep() - Method in class org.apache.mina.common.ByteBufferProxy
-
- sweep(byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- SynchronizedProtocolDecoder - Class in org.apache.mina.filter.codec
-
A
ProtocolDecoder
implementation which decorates an existing decoder
to be thread-safe.
- SynchronizedProtocolDecoder(ProtocolDecoder) - Constructor for class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
Creates a new instance which decorates the specified decoder.
- SynchronizedProtocolEncoder - Class in org.apache.mina.filter.codec
-
A
ProtocolEncoder
implementation which decorates an existing encoder
to be thread-safe.
- SynchronizedProtocolEncoder(ProtocolEncoder) - Constructor for class org.apache.mina.filter.codec.SynchronizedProtocolEncoder
-
Creates a new instance which decorates the specified encoder.