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

A

AbstractIoFilterChain - Class in org.apache.mina.io
An abstract implementation of IoFilterChain that provides common operations for developers to support specific transport types.
AbstractIoFilterChain() - Constructor for class org.apache.mina.io.AbstractIoFilterChain
 
AbstractMessage - Class in org.apache.mina.examples.sumup.message
A base message for SumUp protocol messages.
AbstractMessage() - Constructor for class org.apache.mina.examples.sumup.message.AbstractMessage
 
AbstractMessageDecoder - Class in org.apache.mina.examples.sumup.codec
A MessageDecoder that decodes message header and forwards the decoding of body to a subclass.
AbstractMessageDecoder(int) - Constructor for class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
AbstractMessageEncoder - Class in org.apache.mina.examples.sumup.codec
A MessageEncoder that encodes message header and forwards the encoding of body to a subclass.
AbstractMessageEncoder(int) - Constructor for class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
AbstractProtocolFilterChain - Class in org.apache.mina.protocol
An abstract implementation of ProtocolFilterChain that provides common operations for developers to extend protocol layer.
AbstractProtocolFilterChain() - Constructor for class org.apache.mina.protocol.AbstractProtocolFilterChain
 
acquire() - Method in class org.apache.mina.common.ByteBuffer
Increases the internal reference count of this buffer to defer automatic release.
acquire() - Method in class org.apache.mina.common.ByteBufferProxy
 
ADD - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
add(int, Object) - Method in class org.apache.mina.util.BlockingQueue
 
add(Object) - Method in class org.apache.mina.util.BlockingQueue
 
add(Object) - Method in class org.apache.mina.util.BlockingSet
 
add(Object) - Method in class org.apache.mina.util.IdentityHashSet
 
add(Object) - Method in class org.apache.mina.util.Queue
 
add(int, Object) - Method in class org.apache.mina.util.Queue
 
ADD_BODY_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
addAfter(String, String, IoFilter) - Method in class org.apache.mina.io.AbstractIoFilterChain
Adds the specified interceptor with the specified name just after the interceptor whose name is baseName in this chain.
addAfter(String, String, IoFilter) - Method in interface org.apache.mina.io.IoFilterChain
 
addAfter(String, String, ProtocolFilter) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Adds the specified interceptor with the specified name just after the interceptor whose name is baseName in this chain.
addAfter(String, String, ProtocolFilter) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
addAll(int, Collection) - Method in class org.apache.mina.util.BlockingQueue
 
addAll(Collection) - Method in class org.apache.mina.util.BlockingQueue
 
addBefore(String, String, IoFilter) - Method in class org.apache.mina.io.AbstractIoFilterChain
Adds the specified interceptor with the specified name just before the interceptor whose name is baseName in this chain.
addBefore(String, String, IoFilter) - Method in interface org.apache.mina.io.IoFilterChain
 
addBefore(String, String, ProtocolFilter) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Adds the specified interceptor with the specified name just before the interceptor whose name is baseName in this chain.
addBefore(String, String, ProtocolFilter) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
addFirst(String, IoFilter) - Method in class org.apache.mina.io.AbstractIoFilterChain
Adds the specified interceptor with the specified name at the beginning of this chain.
addFirst(String, IoFilter) - Method in interface org.apache.mina.io.IoFilterChain
 
addFirst(String, ProtocolFilter) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Adds the specified interceptor with the specified name at the beginning of this chain.
addFirst(String, ProtocolFilter) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
addLast(String, IoFilter) - Method in class org.apache.mina.io.AbstractIoFilterChain
Adds the specified interceptor with the specified name at the end of this chain.
addLast(String, IoFilter) - Method in interface org.apache.mina.io.IoFilterChain
 
addLast(String, ProtocolFilter) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Adds the specified interceptor with the specified name at the end of this chain.
addLast(String, ProtocolFilter) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
AddMessage - Class in org.apache.mina.examples.sumup.message
ADD message in SumUp protocol.
AddMessage() - Constructor for class org.apache.mina.examples.sumup.message.AddMessage
 
AddMessageDecoder - Class in org.apache.mina.examples.sumup.codec
A MessageDecoder that decodes AddMessage.
AddMessageDecoder() - Constructor for class org.apache.mina.examples.sumup.codec.AddMessageDecoder
 
AddMessageEncoder - Class in org.apache.mina.examples.sumup.codec
A MessageEncoder that encodes AddMessage.
AddMessageEncoder() - Constructor for class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 
addMessageHandler(Class, MessageHandler) - Method in class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Registers a MessageHandler that receives the messages of the specified type.
allocate(int) - Static method in class org.apache.mina.common.ByteBuffer
Returns the direct or heap buffer which is capable of the specified size.
allocate(int, boolean) - Static method in class org.apache.mina.common.ByteBuffer
Returns the buffer which is capable of the specified size.
asCharBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asCharBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
asDoubleBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asDoubleBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
asFloatBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asFloatBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
asIntBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asIntBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
asLongBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asLongBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
asShortBuffer() - Method in class org.apache.mina.common.ByteBuffer
 
asShortBuffer() - Method in class org.apache.mina.common.ByteBufferProxy
 
available(int) - Static method in class org.apache.mina.util.AvailablePortFinder
Checks to see if a specific port is available.
AvailablePortFinder - Class in org.apache.mina.util
Finds currently available server ports.

B

BaseSession - Class in org.apache.mina.common
Base implementation of Session.
BaseSession() - Constructor for class org.apache.mina.common.BaseSession
 
BaseSessionConfig - Class in org.apache.mina.common
Base implementation of SessionConfigs.
BaseSessionConfig() - Constructor for class org.apache.mina.common.BaseSessionConfig
 
BaseSessionManager - Class in org.apache.mina.common
Base implementation of SessionManagers.
BaseSessionManager() - Constructor for class org.apache.mina.common.BaseSessionManager
 
BaseThreadPool - Class in org.apache.mina.util
A base implementation of Thread-pooling filters.
BaseThreadPool(String) - Constructor for class org.apache.mina.util.BaseThreadPool
Creates a new instance with default thread pool settings.
BaseThreadPool.SessionBuffer - Class in org.apache.mina.util
 
bind(SocketAddress, IoHandler) - Method in class org.apache.mina.io.datagram.DatagramAcceptor
 
bind(SocketAddress, IoHandler) - Method in interface org.apache.mina.io.IoAcceptor
Binds to the specified address and handles incoming connections with the specified handler.
bind(SocketAddress, IoHandler) - Method in class org.apache.mina.io.socket.SocketAcceptor
Binds to the specified address and handles incoming connections with the specified handler.
bind(SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
bind(SocketAddress, ProtocolProvider) - Method in interface org.apache.mina.protocol.ProtocolAcceptor
Binds to the specified address and handles incoming connections with the specified protocolProvider.
bind(SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.vmpipe.VmPipeAcceptor
 
bind(Service, IoHandler) - Method in interface org.apache.mina.registry.ServiceRegistry
Binds the specified I/O handler to the specified service.
bind(Service, ProtocolProvider) - Method in interface org.apache.mina.registry.ServiceRegistry
Binds the specified protocol provider to the specified service.
bind(Service, IoHandler) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
bind(Service, ProtocolProvider) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
BlacklistFilter - Class in org.apache.mina.io.filter
A IoFilter which blocks connections from blacklisted remote address.
BlacklistFilter() - Constructor for class org.apache.mina.io.filter.BlacklistFilter
 
block(InetAddress) - Method in class org.apache.mina.io.filter.BlacklistFilter
Blocks the specified endpoint.
BlockingQueue - Class in org.apache.mina.util
A synchronized version of Queue.
BlockingQueue() - Constructor for class org.apache.mina.util.BlockingQueue
 
BlockingSet - Class in org.apache.mina.util
A HashSet that can wait until it is not empty.
BlockingSet() - Constructor for class org.apache.mina.util.BlockingSet
 
BODY_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
BogusSSLContextFactory - Class in org.apache.mina.examples.echoserver.ssl
Factory to create a bougus SSLContext.
BogusSSLContextFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory
 
BOTH_IDLE - Static variable in class org.apache.mina.common.IdleStatus
buf() - Method in class org.apache.mina.common.ByteBuffer
Returns the underlying NIO buffer instance.
buf - Variable in class org.apache.mina.common.ByteBufferProxy
The buffer proxied by this proxy.
buf() - Method in class org.apache.mina.common.ByteBufferProxy
 
ByteBuffer - Class in org.apache.mina.common
A pooled byte buffer used by MINA applications.
ByteBuffer() - Constructor for class org.apache.mina.common.ByteBuffer
 
ByteBufferProxy - Class in org.apache.mina.common
A ByteBuffer that wraps a buffer and proxies any operations to it.
ByteBufferProxy(ByteBuffer) - Constructor for class org.apache.mina.common.ByteBufferProxy
Create a new instance.

C

capacity() - Method in class org.apache.mina.common.ByteBuffer
 
capacity() - Method in class org.apache.mina.common.ByteBufferProxy
 
capacity() - Method in class org.apache.mina.util.BlockingQueue
 
capacity() - Method in class org.apache.mina.util.Queue
Returns the capacity of this queue.
clear() - Method in class org.apache.mina.common.ByteBuffer
 
clear() - Method in class org.apache.mina.common.ByteBufferProxy
 
clear() - Method in class org.apache.mina.io.AbstractIoFilterChain
Removes all interceptors added to this chain.
clear() - Method in interface org.apache.mina.io.IoFilterChain
 
clear() - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Removes all interceptors added to this chain.
clear() - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
clear() - Method in class org.apache.mina.util.BlockingQueue
 
clear() - Method in class org.apache.mina.util.IdentityHashSet
 
clear() - Method in class org.apache.mina.util.Queue
Clears this queue.
clear() - Method in class org.apache.mina.util.Stack
Clears this stack.
clone() - Method in class org.apache.mina.registry.Service
 
close() - Method in class org.apache.mina.common.BaseSession
 
close() - Method in interface org.apache.mina.common.Session
Closes this session immediately.
close(boolean) - Method in interface org.apache.mina.common.Session
Closes this session immediately.
close() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
close(boolean) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
CLOSED - Static variable in class org.apache.mina.util.EventType
 
compact() - Method in class org.apache.mina.common.ByteBuffer
 
compact() - Method in class org.apache.mina.common.ByteBufferProxy
 
compareTo(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
 
compareTo(ByteBuffer) - Method in class org.apache.mina.common.ByteBufferProxy
 
compareTo(Object) - Method in class org.apache.mina.protocol.vmpipe.VmPipeAddress
 
connect(SocketAddress, IoHandler) - Method in class org.apache.mina.io.datagram.DatagramConnector
 
connect(SocketAddress, int, IoHandler) - Method in class org.apache.mina.io.datagram.DatagramConnector
 
connect(SocketAddress, SocketAddress, int, IoHandler) - Method in class org.apache.mina.io.datagram.DatagramConnector
 
connect(SocketAddress, SocketAddress, IoHandler) - Method in class org.apache.mina.io.datagram.DatagramConnector
 
connect(SocketAddress, IoHandler) - Method in interface org.apache.mina.io.IoConnector
Connects to the specified address.
connect(SocketAddress, SocketAddress, IoHandler) - Method in interface org.apache.mina.io.IoConnector
Connects to the specified address.
connect(SocketAddress, int, IoHandler) - Method in interface org.apache.mina.io.IoConnector
Connects to the specified address with timeout.
connect(SocketAddress, SocketAddress, int, IoHandler) - Method in interface org.apache.mina.io.IoConnector
Connects to the specified address with timeout.
connect(SocketAddress, IoHandler) - Method in class org.apache.mina.io.socket.SocketConnector
 
connect(SocketAddress, SocketAddress, IoHandler) - Method in class org.apache.mina.io.socket.SocketConnector
 
connect(SocketAddress, int, IoHandler) - Method in class org.apache.mina.io.socket.SocketConnector
 
connect(SocketAddress, SocketAddress, int, IoHandler) - Method in class org.apache.mina.io.socket.SocketConnector
 
connect(SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
connect(SocketAddress, SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
connect(SocketAddress, int, ProtocolProvider) - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
connect(SocketAddress, SocketAddress, int, ProtocolProvider) - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
connect(SocketAddress, ProtocolProvider) - Method in interface org.apache.mina.protocol.ProtocolConnector
Connects to the specified address.
connect(SocketAddress, SocketAddress, ProtocolProvider) - Method in interface org.apache.mina.protocol.ProtocolConnector
Connects to the specified address.
connect(SocketAddress, int, ProtocolProvider) - Method in interface org.apache.mina.protocol.ProtocolConnector
Connects to the specified address with timeout.
connect(SocketAddress, SocketAddress, int, ProtocolProvider) - Method in interface org.apache.mina.protocol.ProtocolConnector
Connects to the specified address with timeout.
connect(SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.vmpipe.VmPipeConnector
 
connect(SocketAddress, SocketAddress, ProtocolProvider) - Method in class org.apache.mina.protocol.vmpipe.VmPipeConnector
 
connect(SocketAddress, int, ProtocolProvider) - Method in class org.apache.mina.protocol.vmpipe.VmPipeConnector
 
connect(SocketAddress, SocketAddress, int, ProtocolProvider) - Method in class org.apache.mina.protocol.vmpipe.VmPipeConnector
 
Constants - Class in org.apache.mina.examples.sumup.codec
Provides SumUp protocol constants.
contains(Object) - Method in class org.apache.mina.util.BlockingQueue
 
contains(Object) - Method in class org.apache.mina.util.IdentityHashSet
 
containsAll(Collection) - Method in class org.apache.mina.util.BlockingQueue
 
createHeadFilter() - Method in class org.apache.mina.io.AbstractIoFilterChain
Override this method to create custom head of this filter chain.
createHeadFilter() - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Override this method to create custom head of this filter chain.
createServerSocket(int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createServerSocket(int, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createServerSocket(int, int, InetAddress) - Method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
createSocket(String, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
createTailFilter() - Method in class org.apache.mina.io.AbstractIoFilterChain
Override this method to create custom tail of this filter chain.
createTailFilter() - Method in class org.apache.mina.io.IoSessionManagerFilterChain
 
createTailFilter() - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Override this method to create custom head of this filter chain.
createTailFilter() - Method in class org.apache.mina.protocol.ProtocolSessionManagerFilterChain
 
CumulativeProtocolDecoder - Class in org.apache.mina.protocol.codec
A ProtocolDecoder that cumulates the content of received buffers to a cumulative buffer to help users implement decoders.
CumulativeProtocolDecoder(int) - Constructor for class org.apache.mina.protocol.codec.CumulativeProtocolDecoder
Creates a new instance with the specified default capacity of cumulative buffer.

D

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.io.datagram
IoAcceptor for datagram transport (UDP/IP).
DatagramAcceptor() - Constructor for class org.apache.mina.io.datagram.DatagramAcceptor
Creates a new instance.
DatagramConnector - Class in org.apache.mina.io.datagram
IoConnector for datagram transport (UDP/IP).
DatagramConnector() - Constructor for class org.apache.mina.io.datagram.DatagramConnector
Creates a new instance.
datagramIoAcceptor - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
datagramProtocolAcceptor - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
DatagramSessionConfig - Class in org.apache.mina.io.datagram
A SessionConfig for datagram transport (UDP/IP).
dataRead(IoSession, ByteBuffer) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in class org.apache.mina.io.filter.BlacklistFilter
Forwards event if and if only the remote address of session is not blacklisted.
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in class org.apache.mina.io.filter.SSLFilter
 
dataRead(IoSession, ByteBuffer) - Method in class org.apache.mina.io.handler.StreamIoHandler
Forwards read data to input stream.
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in interface org.apache.mina.io.IoFilter
dataRead(IoSession, ByteBuffer) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
dataRead(IoFilter.NextFilter, IoSession, ByteBuffer) - Method in class org.apache.mina.io.IoFilterAdapter
 
dataRead(IoSession, ByteBuffer) - Method in interface org.apache.mina.io.IoHandler
Invoked when data is read from the connection.
dataRead(IoSession, ByteBuffer) - Method in class org.apache.mina.io.IoHandlerAdapter
 
dataWritten(IoSession, Object) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
dataWritten(IoFilter.NextFilter, IoSession, Object) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
dataWritten(IoFilter.NextFilter, IoSession, Object) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
dataWritten(IoFilter.NextFilter, IoSession, Object) - Method in class org.apache.mina.io.filter.SSLFilter
 
dataWritten(IoFilter.NextFilter, IoSession, Object) - Method in interface org.apache.mina.io.IoFilter
dataWritten(IoSession, Object) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
dataWritten(IoFilter.NextFilter, IoSession, Object) - Method in class org.apache.mina.io.IoFilterAdapter
 
dataWritten(IoSession, Object) - Method in interface org.apache.mina.io.IoHandler
Invoked when MINA wrote IoSession.write(ByteBuffer, Object) request successfully.
dataWritten(IoSession, Object) - Method in class org.apache.mina.io.IoHandlerAdapter
 
debug(Session, String) - Static method in class org.apache.mina.util.SessionLog
 
debug(Session, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
 
decodable(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decodable(ProtocolSession, ByteBuffer) - Method in interface org.apache.mina.protocol.codec.MessageDecoder
Checks the specified buffer is decodable by this decoder.
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.protocol.codec.CumulativeProtocolDecoder
Cumulates content of in into internal buffer and forwards decoding request to CumulativeProtocolDecoder.doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput).
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in interface org.apache.mina.protocol.codec.MessageDecoder
Decodes binary or protocol-specific content into higher-level message objects.
decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in interface org.apache.mina.protocol.ProtocolDecoder
Decodes binary or protocol-specific content into higher-level message objects.
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageDecoder
 
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AddMessageDecoder
 
decodeBody(ProtocolSession, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.ResultMessageDecoder
 
DEFAULT_KEEP_ALIVE_TIME - Static variable in class org.apache.mina.util.BaseThreadPool
Default keep-alive time of thread pool (1 min).
DEFAULT_MAXIMUM_POOL_SIZE - Static variable in class org.apache.mina.util.BaseThreadPool
Default maximum size of thread pool (2G).
DefaultExceptionMonitor - Class in org.apache.mina.common
A default ExceptionMonitor implementation that logs uncaught exceptions using Logger.
DefaultExceptionMonitor() - Constructor for class org.apache.mina.common.DefaultExceptionMonitor
 
DemuxingProtocolCodecFactory - Class in org.apache.mina.protocol.codec
A composite ProtocolCodecFactory that consists of multiple MessageEncoders and MessageDecoders.
DemuxingProtocolCodecFactory() - Constructor for class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
DemuxingProtocolHandler - Class in org.apache.mina.protocol.handler
A ProtocolHandler that demuxes messageReceived events to the appropriate MessageHandler.
DemuxingProtocolHandler() - Constructor for class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Creates a new instance with no registered MessageHandlers.
DISABLE_ENCRYPTION_ONCE - Static variable in class org.apache.mina.io.filter.SSLFilter
A session attribute key that makes next one write request bypass this filter (not encrypting the data).
doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) - Method in class org.apache.mina.protocol.codec.CumulativeProtocolDecoder
Implement this method to consume the specified cumulative buffer and decode its content into message(s).
doWrite(IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
doWrite(IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.IoSessionFilterChain
 
doWrite(ProtocolSession, Object) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
doWrite(ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolSessionFilterChain
 

E

element() - Method in class org.apache.mina.util.BlockingQueue
 
element() - Method in class org.apache.mina.util.Queue
 
encode(ProtocolSession, Object, ProtocolEncoderOutput) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
encode(ProtocolSession, Object, ProtocolEncoderOutput) - Method in interface org.apache.mina.protocol.ProtocolEncoder
Encodes higher-level message objects into binary or protocol-specific data.
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AbstractMessageEncoder
 
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 
encodeBody(ProtocolSession, AbstractMessage, ByteBuffer) - Method in class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
equals(Object) - Method in class org.apache.mina.common.ByteBuffer
 
equals(Object) - Method in class org.apache.mina.common.ByteBufferProxy
 
equals(Object) - Method in class org.apache.mina.protocol.vmpipe.VmPipeAddress
 
equals(Object) - Method in class org.apache.mina.registry.Service
 
equals(Object) - Method in class org.apache.mina.util.BlockingQueue
 
error(Session, String) - Static method in class org.apache.mina.util.SessionLog
 
error(Session, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
 
Event - Class in org.apache.mina.util
MINA Event used by BaseThreadPool internally.
Event(EventType, Object, Object) - Constructor for class org.apache.mina.util.Event
 
EventType - Class in org.apache.mina.util
Enumeration for MINA event types.
EXCEPTION - Static variable in class org.apache.mina.util.EventType
 
exceptionCaught(Object, Throwable) - Method in class org.apache.mina.common.DefaultExceptionMonitor
 
exceptionCaught(Object, Throwable) - Method in interface org.apache.mina.common.ExceptionMonitor
Invoked when there are any uncaught exceptions.
exceptionCaught(IoSession, Throwable) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
exceptionCaught(IoFilter.NextFilter, IoSession, Throwable) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
exceptionCaught(IoFilter.NextFilter, IoSession, Throwable) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
exceptionCaught(IoSession, Throwable) - Method in class org.apache.mina.io.handler.StreamIoHandler
Forwards caught exceptions to input stream.
exceptionCaught(IoFilter.NextFilter, IoSession, Throwable) - Method in interface org.apache.mina.io.IoFilter
exceptionCaught(IoSession, Throwable) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
exceptionCaught(IoFilter.NextFilter, IoSession, Throwable) - Method in class org.apache.mina.io.IoFilterAdapter
 
exceptionCaught(IoSession, Throwable) - Method in interface org.apache.mina.io.IoHandler
Invoked when any exception is thrown by user IoHandler implementation or by MINA.
exceptionCaught(IoSession, Throwable) - Method in class org.apache.mina.io.IoHandlerAdapter
 
exceptionCaught(ProtocolSession, Throwable) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
exceptionCaught(ProtocolFilter.NextFilter, ProtocolSession, Throwable) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
exceptionCaught(ProtocolFilter.NextFilter, ProtocolSession, Throwable) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
exceptionCaught(ProtocolFilter.NextFilter, ProtocolSession, Throwable) - Method in interface org.apache.mina.protocol.ProtocolFilter
exceptionCaught(ProtocolSession, Throwable) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
exceptionCaught(ProtocolFilter.NextFilter, ProtocolSession, Throwable) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
exceptionCaught(ProtocolSession, Throwable) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when any exception is thrown by user ProtocolHandler implementation or by MINA.
exceptionCaught(ProtocolSession, Throwable) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
exceptionMonitor - Variable in class org.apache.mina.common.BaseSessionManager
Current exception monitor.
ExceptionMonitor - Interface in org.apache.mina.common
Monitors uncaught exceptions.
ExceptionUtil - Class in org.apache.mina.util
Exception utility.

F

fetchSessionBuffer(Queue) - Method in class org.apache.mina.util.BaseThreadPool
Implement this method to fetch (or pop) a BaseThreadPool.SessionBuffer from the given unfetchedSessionBuffers.
fill(byte, int) - Method in class org.apache.mina.common.ByteBuffer
Fills this buffer with the specified value.
fill(int) - Method in class org.apache.mina.common.ByteBuffer
Fills this buffer with NUL (0x00).
fill(byte, int) - Method in class org.apache.mina.common.ByteBufferProxy
 
fill(int) - Method in class org.apache.mina.common.ByteBufferProxy
 
fillAndReset(byte, int) - Method in class org.apache.mina.common.ByteBuffer
Fills this buffer with the specified value.
fillAndReset(int) - Method in class org.apache.mina.common.ByteBuffer
Fills this buffer with NUL (0x00).
fillAndReset(byte, int) - Method in class org.apache.mina.common.ByteBufferProxy
 
fillAndReset(int) - Method in class org.apache.mina.common.ByteBufferProxy
 
filterWrite(IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
filterWrite(IoFilter.NextFilter, IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
filterWrite(IoFilter.NextFilter, IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
filterWrite(IoFilter.NextFilter, IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.filter.SSLFilter
 
filterWrite(IoFilter.NextFilter, IoSession, ByteBuffer, Object) - Method in interface org.apache.mina.io.IoFilter
Filters IoSession.write(ByteBuffer, Object) method invocation.
filterWrite(IoSession, ByteBuffer, Object) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
filterWrite(IoFilter.NextFilter, IoSession, ByteBuffer, Object) - Method in class org.apache.mina.io.IoFilterAdapter
 
filterWrite(ProtocolSession, Object) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
filterWrite(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
filterWrite(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
filterWrite(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter
Filters ProtocolSession.write(Object) method invocation.
filterWrite(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
filterWrite(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
findIoAcceptor(TransportType) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
findProtocolAcceptor(TransportType) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
fireEvent(Object, Session, EventType, Object) - Method in class org.apache.mina.util.BaseThreadPool
 
first() - Method in class org.apache.mina.util.BlockingQueue
 
first() - Method in class org.apache.mina.util.Queue
Returns the first element of the queue.
first() - Method in class org.apache.mina.util.Stack
Returns the first element of the stack.
flip() - Method in class org.apache.mina.common.ByteBuffer
 
flip() - Method in class org.apache.mina.common.ByteBufferProxy
 

G

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(int) - Method in class org.apache.mina.util.BlockingQueue
 
get(int) - Method in class org.apache.mina.util.Queue
 
getAddress() - Method in class org.apache.mina.registry.Service
Returns the socket address this service is bound on.
getAllServices() - Method in interface org.apache.mina.registry.ServiceRegistry
Returns Set of all services bound in this registry.
getAllServices() - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getAttachment() - Method in class org.apache.mina.common.BaseSession
 
getAttachment() - Method in interface org.apache.mina.common.Session
Returns an attachment of this session.
getAttachment() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getAttribute(String) - Method in class org.apache.mina.common.BaseSession
 
getAttribute(String) - Method in interface org.apache.mina.common.Session
Returns the value of user-defined attribute of this session.
getAttribute(String) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getAttributeKeys() - Method in class org.apache.mina.common.BaseSession
 
getAttributeKeys() - Method in interface org.apache.mina.common.Session
Returns the set of keys of all user-defined attributes.
getAttributeKeys() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
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.io.socket.SocketAcceptor
Returns the default backlog value which is used when user binds.
getBufferQueue() - Method in class org.apache.mina.protocol.SimpleProtocolEncoderOutput
 
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
 
getChild(String) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
getChild(String) - Method in interface org.apache.mina.io.IoFilterChain
 
getChild(String) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
getChild(String) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
getChildren() - Method in class org.apache.mina.io.AbstractIoFilterChain
 
getChildren() - Method in interface org.apache.mina.io.IoFilterChain
 
getChildren() - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
getChildren() - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
getChildrenReversed() - Method in class org.apache.mina.io.AbstractIoFilterChain
 
getChildrenReversed() - Method in interface org.apache.mina.io.IoFilterChain
 
getChildrenReversed() - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
getChildrenReversed() - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
getCodecFactory() - Method in interface org.apache.mina.protocol.ProtocolProvider
 
getConfig() - Method in interface org.apache.mina.common.Session
Returns the configuration of this session.
getConfig() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getCreationTime() - Method in class org.apache.mina.common.BaseSession
 
getCreationTime() - Method in interface org.apache.mina.common.Session
Returns the time in millis when this session is created.
getCreationTime() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getData() - Method in class org.apache.mina.util.Event
 
getDecoder() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getDecoder() - Method in interface org.apache.mina.protocol.ProtocolSession
Returns the ProtocolDecoder for this session.
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
 
getEnabledCipherSuites() - Method in class org.apache.mina.io.filter.SSLFilter
Returns the list of cipher suites to be enabled when SSLEngine is initialized.
getEnabledProtocols() - Method in class org.apache.mina.io.filter.SSLFilter
Returns the list of protocols to be enabled when SSLEngine is initialized.
getEncoder() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getEncoder() - Method in interface org.apache.mina.protocol.ProtocolSession
Returns the ProtocolEncoder for this session.
getEventQueue() - Method in class org.apache.mina.util.BaseThreadPool.SessionBuffer
 
getExceptionMonitor() - Method in class org.apache.mina.common.BaseSessionManager
 
getExceptionMonitor() - Method in interface org.apache.mina.common.SessionManager
Returns the current exception monitor.
getExceptionMonitor() - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
getExceptionMonitor() - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
getFilterChain() - Method in class org.apache.mina.io.datagram.DatagramAcceptor
 
getFilterChain() - Method in class org.apache.mina.io.datagram.DatagramConnector
 
getFilterChain() - Method in interface org.apache.mina.io.IoSession
Returns the filter chain that only affects this session.
getFilterChain() - Method in interface org.apache.mina.io.IoSessionManager
Returns the filter chain that filters all events which is related with sessions this manager manages.
getFilterChain() - Method in class org.apache.mina.io.socket.SocketAcceptor
 
getFilterChain() - Method in class org.apache.mina.io.socket.SocketConnector
 
getFilterChain() - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
getFilterChain() - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
getFilterChain() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getFilterChain() - Method in interface org.apache.mina.protocol.ProtocolSession
Returns the filter chain that only affects this session.
getFilterChain() - Method in interface org.apache.mina.protocol.ProtocolSessionManager
Returns the filter chain that filters all events which is related with sessions this manager manages.
getFilterChain() - Method in class org.apache.mina.protocol.vmpipe.VmPipeAcceptor
 
getFilterChain() - Method in class org.apache.mina.protocol.vmpipe.VmPipeConnector
 
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
 
getHandler() - Method in interface org.apache.mina.io.IoSession
Returns the event handler for this session.
getHandler() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getHandler() - Method in interface org.apache.mina.protocol.ProtocolProvider
 
getHandler() - Method in interface org.apache.mina.protocol.ProtocolSession
Returns the ProtocolHandler which handles this session.
getHexDump() - Method in class org.apache.mina.common.ByteBuffer
Returns hexdump of this buffer.
getHexDump() - Method in class org.apache.mina.common.ByteBufferProxy
 
getHexdump() - Method in exception org.apache.mina.protocol.ProtocolViolationException
Returns the hexdump of the unknown message part.
getIdleCount(IdleStatus) - Method in class org.apache.mina.common.BaseSession
 
getIdleCount(IdleStatus) - Method in interface org.apache.mina.common.Session
Returns the number of the fired continuous sessionIdle events for the specified IdleStatus.
getIdleCount(IdleStatus) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getIdleTime(IdleStatus) - Method in class org.apache.mina.common.BaseSessionConfig
 
getIdleTime(IdleStatus) - Method in interface org.apache.mina.common.SessionConfig
Returns idle time for the specified type of idleness in seconds.
getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.common.BaseSessionConfig
 
getIdleTimeInMillis(IdleStatus) - Method in interface org.apache.mina.common.SessionConfig
Returnd idle time for the specified type of idleness in milliseconds.
getInstance(String) - Static method in class org.apache.mina.common.TransportType
Returns the transport type of the specified name.
getInstance(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.BogusSSLContextFactory
Get SSLContext singleton.
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
 
getIoAcceptor() - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
Returns the underlying IoAcceptor instance this acceptor is wrapping.
getIoAcceptor(TransportType) - Method in interface org.apache.mina.registry.ServiceRegistry
 
getIoAcceptor(TransportType) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getIoConnector() - Method in class org.apache.mina.protocol.io.IoProtocolConnector
Returns the underlying IoConnector instance this acceptor is wrapping.
getIoSession() - Method in class org.apache.mina.protocol.io.IoProtocolSession
Returns the IoSession this session is backed by.
getKeepAlive() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getKeepAliveTime() - Method in class org.apache.mina.util.BaseThreadPool
 
getKeepAliveTime() - Method in interface org.apache.mina.util.ThreadPool
Returns the keep-alive time until the thread suicides after it became idle (milliseconds unit).
getLastIdleTime(IdleStatus) - Method in class org.apache.mina.common.BaseSession
 
getLastIdleTime(IdleStatus) - Method in interface org.apache.mina.common.Session
Returns the time in millis when the last sessionIdle event is fired for the specified IdleStatus.
getLastIdleTime(IdleStatus) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getLastIoTime() - Method in class org.apache.mina.common.BaseSession
 
getLastIoTime() - Method in interface org.apache.mina.common.Session
Returns the time in millis when I/O occurred lastly.
getLastIoTime() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getLastReadTime() - Method in class org.apache.mina.common.BaseSession
 
getLastReadTime() - Method in interface org.apache.mina.common.Session
Returns the time in millis when read operation occurred lastly.
getLastReadTime() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getLastWriteTime() - Method in class org.apache.mina.common.BaseSession
 
getLastWriteTime() - Method in interface org.apache.mina.common.Session
Returns the time in millis when write operation occurred lastly.
getLastWriteTime() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getLocalAddress() - Method in interface org.apache.mina.common.Session
Returns the socket address of local machine which is associated with this session.
getLocalAddress() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getLogger(Session) - Static method in class org.apache.mina.util.SessionLog
 
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
 
getManager() - Method in class org.apache.mina.io.IoSessionManagerFilterChain
 
getManager() - Method in class org.apache.mina.protocol.ProtocolSessionManagerFilterChain
 
getMaximumPoolSize() - Method in class org.apache.mina.util.BaseThreadPool
 
getMaximumPoolSize() - Method in interface org.apache.mina.util.ThreadPool
Returns the maximum size of the thread pool.
getMessage() - Method in exception org.apache.mina.protocol.ProtocolViolationException
Returns the message and the hexdump of the unknown part.
getMessageHandler(Class) - Method in class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Returns the MessageHandler which is registered to process the specified type.
getMessageHandlerMap() - Method in class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Returns the Map which contains all messageType-MessageHandler pairs registered to this handler.
getMessageQueue() - Method in class org.apache.mina.protocol.SimpleProtocolDecoderOutput
 
getMessageTypes() - Method in class org.apache.mina.examples.sumup.codec.AddMessageEncoder
 
getMessageTypes() - Method in class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
getMessageTypes() - Method in interface org.apache.mina.protocol.codec.MessageEncoder
Returns the set of message classes this encoder can encode.
getName() - Method in class org.apache.mina.registry.Service
Returns the name of this service (protocol).
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.
getNextFilter() - Method in class org.apache.mina.util.Event
 
getOOBInline() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getPoolSize() - Method in class org.apache.mina.util.BaseThreadPool
 
getPoolSize() - Method in interface org.apache.mina.util.ThreadPool
Returns the number of threads in the thread pool.
getPort() - Method in class org.apache.mina.protocol.vmpipe.VmPipeAddress
Returns the port number.
getProtocolAcceptor(TransportType) - Method in interface org.apache.mina.registry.ServiceRegistry
 
getProtocolAcceptor(TransportType) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getReadBytes() - Method in class org.apache.mina.common.BaseSession
 
getReadBytes() - Method in interface org.apache.mina.common.Session
Returns the total number of bytes which were read from this session.
getReadBytes() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getReadTimeout() - Method in class org.apache.mina.io.handler.StreamIoHandler
Returns read timeout in seconds.
getReceiveBufferSize() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getRemoteAddress() - Method in interface org.apache.mina.common.Session
Returns the socket address of remote peer.
getRemoteAddress() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getReuseAddress() - Method in class org.apache.mina.io.datagram.DatagramSessionConfig
 
getReuseAddress() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getScheduledWriteRequests() - Method in interface org.apache.mina.common.Session
Returns the number of write requests which are scheduled to be written to this session.
getScheduledWriteRequests() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getSendBufferSize() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getSequence() - Method in class org.apache.mina.examples.sumup.message.AbstractMessage
 
getServerSocketFactory() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
getServices(String) - Method in interface org.apache.mina.registry.ServiceRegistry
Returns Set of services bound in this registry with the specified service(or protocol) name.
getServices(TransportType) - Method in interface org.apache.mina.registry.ServiceRegistry
Returns Set of services bound in this registry with the specified transport type.
getServices(int) - Method in interface org.apache.mina.registry.ServiceRegistry
Returns Set of services bound in this registry with the specified port number.
getServices(String) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getServices(TransportType) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getServices(int) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
getSession() - Method in class org.apache.mina.util.BaseThreadPool.SessionBuffer
 
getSessionReceiveBufferSize() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
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
 
getSocketFactory() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
getSoLinger() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getSSLSession(IoSession) - Method in class org.apache.mina.io.filter.SSLFilter
Returns the underlying SSLSession for the specified session.
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
 
getTcpNoDelay() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getThreadNamePrefix() - Method in class org.apache.mina.util.BaseThreadPool
 
getTrafficClass() - Method in class org.apache.mina.io.datagram.DatagramSessionConfig
 
getTrafficClass() - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
getTransportType() - Method in interface org.apache.mina.common.Session
Returns transport type of this session.
getTransportType() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getTransportType() - Method in class org.apache.mina.registry.Service
Returns the transport type this service uses.
getType() - Method in class org.apache.mina.util.Event
 
getUnsigned() - Method in class org.apache.mina.common.ByteBuffer
 
getUnsigned(int) - Method in class org.apache.mina.common.ByteBuffer
 
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
 
getUnsignedInt(int) - Method in class org.apache.mina.common.ByteBuffer
 
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
 
getUnsignedShort(int) - Method in class org.apache.mina.common.ByteBuffer
 
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.examples.sumup.message.AddMessage
 
getValue() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
getWriteTimeout() - Method in class org.apache.mina.common.BaseSessionConfig
 
getWriteTimeout() - Method in interface org.apache.mina.common.SessionConfig
Returns write timeout in seconds.
getWriteTimeout() - Method in class org.apache.mina.io.handler.StreamIoHandler
Returns write timeout in seconds.
getWriteTimeoutInMillis() - Method in class org.apache.mina.common.BaseSessionConfig
 
getWriteTimeoutInMillis() - Method in interface org.apache.mina.common.SessionConfig
Returns write timeout in milliseconds.
getWrittenBytes() - Method in class org.apache.mina.common.BaseSession
 
getWrittenBytes() - Method in interface org.apache.mina.common.Session
Returns the total number of bytes which were written to this session.
getWrittenBytes() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
getWrittenWriteRequests() - Method in class org.apache.mina.common.BaseSession
 
getWrittenWriteRequests() - Method in interface org.apache.mina.common.Session
Returns the total number of write requests which were written to this session.
getWrittenWriteRequests() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 

H

hashCode() - Method in class org.apache.mina.common.ByteBuffer
 
hashCode() - Method in class org.apache.mina.common.ByteBufferProxy
 
hashCode() - Method in class org.apache.mina.protocol.vmpipe.VmPipeAddress
 
hashCode() - Method in class org.apache.mina.registry.Service
 
hashCode() - Method in class org.apache.mina.util.BlockingQueue
 
hasRemaining() - Method in class org.apache.mina.common.ByteBuffer
 
hasRemaining() - Method in class org.apache.mina.common.ByteBufferProxy
 
HEADER_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 

I

IdentityHashSet - Class in org.apache.mina.util
An IdentityHashMap-backed Set.
IdentityHashSet() - Constructor for class org.apache.mina.util.IdentityHashSet
 
IDLE - Static variable in class org.apache.mina.util.EventType
 
IdleStatus - Class in org.apache.mina.common
Represents the type of idleness of IoSession or ProtocolSession.
increaseIdleCount(IdleStatus) - Method in class org.apache.mina.common.BaseSession
 
increaseReadBytes(int) - Method in class org.apache.mina.common.BaseSession
 
increaseWrittenBytes(int) - Method in class org.apache.mina.common.BaseSession
 
increaseWrittenWriteRequests() - Method in class org.apache.mina.common.BaseSession
 
indexOf(Object) - Method in class org.apache.mina.util.BlockingQueue
 
info(Session, String) - Static method in class org.apache.mina.util.SessionLog
 
info(Session, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
 
initialize(Session) - Static method in class org.apache.mina.util.SessionUtil
 
IoAcceptor - Interface in org.apache.mina.io
Accepts incoming connection, communicates with clients, and fires events to IoHandlers.
IoConnector - Interface in org.apache.mina.io
Connects to endpoint, communicates with the server, and fires events to IoHandlers.
IoFilter - Interface in org.apache.mina.io
A filter which intercepts IoHandler events like Servlet filters.
IoFilter.NextFilter - Interface in org.apache.mina.io
 
IoFilterAdapter - Class in org.apache.mina.io
An abstract adapter class for IoFilter.
IoFilterAdapter() - Constructor for class org.apache.mina.io.IoFilterAdapter
 
IoFilterChain - Interface in org.apache.mina.io
 
IoHandler - Interface in org.apache.mina.io
Handles all I/O events fired by IoAcceptor and IoConnector.
IoHandlerAdapter - Class in org.apache.mina.io
An abstract adapter class for IoHandler.
IoHandlerAdapter() - Constructor for class org.apache.mina.io.IoHandlerAdapter
 
IoLoggingFilter - Class in org.apache.mina.io.filter
Logs all MINA I/O events to Logger.
IoLoggingFilter() - Constructor for class org.apache.mina.io.filter.IoLoggingFilter
Creates a new instance.
IoProtocolAcceptor - Class in org.apache.mina.protocol.io
A ProtocolAcceptor which wraps IoAcceptor to provide low-level I/O.
IoProtocolAcceptor(IoAcceptor) - Constructor for class org.apache.mina.protocol.io.IoProtocolAcceptor
Creates a new instance with the specified IoAcceptor.
IoProtocolConnector - Class in org.apache.mina.protocol.io
A ProtocolConnector which wraps IoConnector to provide low-level I/O.
IoProtocolConnector(IoConnector) - Constructor for class org.apache.mina.protocol.io.IoProtocolConnector
Creates a new instance with the specified IoConnector.
IoProtocolSession - Class in org.apache.mina.protocol.io
A ProtocolSession that is backed by IoSession.
IoSession - Interface in org.apache.mina.io
A Session that represents low-level I/O connection between two endpoints regardless of underlying transport types.
IoSessionFilterChain - Class in org.apache.mina.io
An IoFilterChain that forwards filterWrite requests to the specified IoSessionManagerFilterChain.
IoSessionFilterChain(IoSessionManagerFilterChain) - Constructor for class org.apache.mina.io.IoSessionFilterChain
 
IoSessionManager - Interface in org.apache.mina.io
A SessionManager for I/O layer.
IoSessionManagerFilterChain - Class in org.apache.mina.io
An IoFilterChain that forwards all events except filterWrite to the IoSessionFilterChain of the recipient session.
IoSessionManagerFilterChain(IoSessionManager) - Constructor for class org.apache.mina.io.IoSessionManagerFilterChain
 
IoThreadPoolFilter - Class in org.apache.mina.io.filter
A Thread-pooling filter.
IoThreadPoolFilter() - Constructor for class org.apache.mina.io.filter.IoThreadPoolFilter
Creates a new instance of this filter with default thread pool settings.
IoThreadPoolFilter(String) - Constructor for class org.apache.mina.io.filter.IoThreadPoolFilter
Creates a new instance of this filter with default thread pool settings.
ioThreadPoolFilter - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
isAutoExpand() - Method in class org.apache.mina.common.ByteBuffer
Returns true if and only if autoExpand is turned on.
isAutoExpand() - Method in class org.apache.mina.common.ByteBufferProxy
 
isConnected() - Method in interface org.apache.mina.common.Session
Returns true if this session is connected with remote peer.
isConnected() - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
isConnectionless() - Method in class org.apache.mina.common.TransportType
Returns true if the session of this transport type is connectionless.
isDirect() - Method in class org.apache.mina.common.ByteBuffer
 
isDirect() - Method in class org.apache.mina.common.ByteBufferProxy
 
isEmpty() - Method in class org.apache.mina.util.BlockingQueue
 
isEmpty() - Method in class org.apache.mina.util.Queue
Returns true if the queue is empty.
isEmpty() - Method in class org.apache.mina.util.Stack
Returns true if the stack is empty.
isIdle(IdleStatus) - Method in class org.apache.mina.common.BaseSession
 
isIdle(IdleStatus) - Method in interface org.apache.mina.common.Session
Returns true if this session is idle for the specified IdleStatus.
isIdle(IdleStatus) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
isNeedClientAuth() - Method in class org.apache.mina.io.filter.SSLFilter
Returns true if the engine will require client authentication.
isOk() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
isPooled() - Method in class org.apache.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.apache.mina.common.ByteBufferProxy
 
isSslEnabled() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
isSslEnabled() - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
isUseClientMode() - Method in class org.apache.mina.io.filter.SSLFilter
Returns true if the engine is set to use client mode when handshaking.
isWantClientAuth() - Method in class org.apache.mina.io.filter.SSLFilter
Returns true if the engine will request client authentication.
iterator() - Method in class org.apache.mina.util.BlockingQueue
 
iterator() - Method in class org.apache.mina.util.BlockingSet
 
iterator() - Method in class org.apache.mina.util.IdentityHashSet
 

L

last() - Method in class org.apache.mina.util.BlockingQueue
 
last() - Method in class org.apache.mina.util.Queue
Returns the last element of the queue.
last() - Method in class org.apache.mina.util.Stack
 
lastIndexOf(Object) - Method in class org.apache.mina.util.BlockingQueue
 
limit() - Method in class org.apache.mina.common.ByteBuffer
 
limit(int) - Method in class org.apache.mina.common.ByteBuffer
 
limit() - Method in class org.apache.mina.common.ByteBufferProxy
 
limit(int) - Method in class org.apache.mina.common.ByteBufferProxy
 
listIterator() - Method in class org.apache.mina.util.BlockingQueue
 
listIterator(int) - Method in class org.apache.mina.util.BlockingQueue
 
LOGGER - Static variable in class org.apache.mina.io.filter.IoLoggingFilter
Session attribute key: Logger
LOGGER - Static variable in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
Session attribute key: Logger
LOGGER - Static variable in class org.apache.mina.util.SessionLog
Session attribute key: Logger

M

mark() - Method in class org.apache.mina.common.ByteBuffer
 
mark() - Method in class org.apache.mina.common.ByteBufferProxy
 
MAX_PORT_NUMBER - Static variable in class org.apache.mina.util.AvailablePortFinder
The maximum number of server port number.
mergeAll() - Method in interface org.apache.mina.protocol.ProtocolEncoderOutput
Merges all buffers you wrote via ProtocolEncoderOutput.write(ByteBuffer) into one ByteBuffer and replaces the old fragmented ones with it.
mergeAll() - Method in class org.apache.mina.protocol.SimpleProtocolEncoderOutput
 
MessageDecoder - Interface in org.apache.mina.protocol.codec
Decodes specific messages.
MessageDecoderFactory - Interface in org.apache.mina.protocol.codec
A factory that creates a new instance of MessageDecoder.
MessageDecoderResult - Class in org.apache.mina.protocol.codec
Represents results from MessageDecoder.
MessageEncoder - Interface in org.apache.mina.protocol.codec
Encodes messages of specific types specified by MessageEncoder.getMessageTypes().
MessageEncoderFactory - Interface in org.apache.mina.protocol.codec
A factory that creates a new instance of MessageEncoder.
MessageHandler - Interface in org.apache.mina.protocol.handler
A handler interface that DemuxingProtocolHandler forwards messageReceived events to.
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
messageReceived(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
messageReceived(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Forwards the received events into the appropriate MessageHandler which is registered by DemuxingProtocolHandler.addMessageHandler(Class, MessageHandler).
messageReceived(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.handler.MessageHandler
Invoked when the specific type of message is received from the specified session.
messageReceived(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter
messageReceived(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
messageReceived(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
messageReceived(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when protocol message is received.
messageReceived(ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
messageSent(ProtocolSession, Object) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
messageSent(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
messageSent(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
messageSent(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter
messageSent(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
messageSent(ProtocolFilter.NextFilter, ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
messageSent(ProtocolSession, Object) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when protocol message that user requested by ProtocolSession.write(Object) is sent out actually.
messageSent(ProtocolSession, Object) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
MIN_PORT_NUMBER - Static variable in class org.apache.mina.util.AvailablePortFinder
The minimum number of server port number.

N

NEED_DATA - Static variable in interface org.apache.mina.protocol.codec.MessageDecoder
NEED_DATA - Static variable in class org.apache.mina.protocol.codec.MessageDecoderResult
newDecoder() - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
newDecoder() - Method in interface org.apache.mina.protocol.codec.MessageDecoderFactory
Creates a new message decoder.
newDecoder() - Method in interface org.apache.mina.protocol.ProtocolCodecFactory
Creates a new instance of ProtocolDecoder which decodes binary or protocol-specific data into message objects.
newEncoder() - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
newEncoder() - Method in interface org.apache.mina.protocol.codec.MessageEncoderFactory
Creates a new message encoder.
newEncoder() - Method in interface org.apache.mina.protocol.ProtocolCodecFactory
Creates a new instance of ProtocolEncoder which encodes message objects into binary or protocol-specific data.
newSession(SocketAddress, SocketAddress) - Method in class org.apache.mina.io.datagram.DatagramAcceptor
 
newSession(SocketAddress, SocketAddress) - Method in interface org.apache.mina.io.IoAcceptor
(Optional) Returns an 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).
newSession(SocketAddress, SocketAddress) - Method in class org.apache.mina.io.socket.SocketAcceptor
 
newSession(SocketAddress, SocketAddress) - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
newSession(SocketAddress, SocketAddress) - Method in interface org.apache.mina.protocol.ProtocolAcceptor
(Optional) Returns a ProtocolSession that is bound to the specified localAddress and remoteAddress which reuses the localAddress that is already bound by ProtocolAcceptor via ProtocolAcceptor.bind(SocketAddress, ProtocolProvider).
newSession(SocketAddress, SocketAddress) - Method in class org.apache.mina.protocol.vmpipe.VmPipeAcceptor
 
NOOP - Static variable in interface org.apache.mina.protocol.handler.MessageHandler
A MessageHandler that does nothing.
NOT_OK - Static variable in interface org.apache.mina.protocol.codec.MessageDecoder
NOT_OK - Static variable in class org.apache.mina.protocol.codec.MessageDecoderResult

O

offer(Object) - Method in class org.apache.mina.util.BlockingQueue
 
offer(Object) - Method in class org.apache.mina.util.Queue
 
OK - Static variable in interface org.apache.mina.protocol.codec.MessageDecoder
OK - Static variable in class org.apache.mina.protocol.codec.MessageDecoderResult
OPENED - Static variable in class org.apache.mina.util.EventType
 
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
 
org.apache.mina.common - package org.apache.mina.common
Common types required for users to use MINA.
org.apache.mina.examples.echoserver.ssl - package org.apache.mina.examples.echoserver.ssl
SSL support classes.
org.apache.mina.examples.sumup.codec - package org.apache.mina.examples.sumup.codec
 
org.apache.mina.examples.sumup.message - package org.apache.mina.examples.sumup.message
 
org.apache.mina.io - package org.apache.mina.io
Low-level protocol implementation layer (I/O layer).
org.apache.mina.io.datagram - package org.apache.mina.io.datagram
Datagram (UDP/IP) support.
org.apache.mina.io.filter - package org.apache.mina.io.filter
Basic IoHandlerFilter implementations.
org.apache.mina.io.handler - package org.apache.mina.io.handler
Useful IoHandler implementations.
org.apache.mina.io.socket - package org.apache.mina.io.socket
Socket (TCP/IP) support.
org.apache.mina.protocol - package org.apache.mina.protocol
High-level protocol implementation layer (Protocol layer).
org.apache.mina.protocol.codec - package org.apache.mina.protocol.codec
Useful ProtocolEncoder and ProtocolDecoder implementations.
org.apache.mina.protocol.filter - package org.apache.mina.protocol.filter
Basic ProtocolHandlerFilter implementations.
org.apache.mina.protocol.handler - package org.apache.mina.protocol.handler
Useful ProtocolHandler implementations.
org.apache.mina.protocol.io - package org.apache.mina.protocol.io
A wrapper for org.apache.mina.io package to support low-level I/O.
org.apache.mina.protocol.vmpipe - package org.apache.mina.protocol.vmpipe
In-VM pipe support which removes the overhead of local loopback communication.
org.apache.mina.registry - package org.apache.mina.registry
A frontend package that makes setting up MINA easier.
org.apache.mina.util - package org.apache.mina.util
This package is used by MINA internally.

P

peek() - Method in class org.apache.mina.util.BlockingQueue
 
peek() - Method in class org.apache.mina.util.Queue
 
poll() - Method in class org.apache.mina.util.BlockingQueue
 
poll() - Method in class org.apache.mina.util.Queue
 
pop() - Method in class org.apache.mina.util.BlockingQueue
 
pop() - Method in class org.apache.mina.util.Queue
Dequeues from this queue.
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
 
PREFIX - Static variable in class org.apache.mina.io.filter.IoLoggingFilter
Session attribute key: prefix string
PREFIX - Static variable in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
Session attribute key: prefix string
PREFIX - Static variable in class org.apache.mina.util.SessionLog
Session attribute key: prefix string
processEvent(Object, Session, EventType, Object) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
processEvent(Object, Session, EventType, Object) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
processEvent(Object, Session, EventType, Object) - Method in class org.apache.mina.util.BaseThreadPool
Implement this method to forward events to nextFilter.
processStreamIo(IoSession, InputStream, OutputStream) - Method in class org.apache.mina.io.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.
ProtocolAcceptor - Interface in org.apache.mina.protocol
Accepts incoming connection, communicates with clients, and fires events to ProtocolHandlers.
ProtocolCodecFactory - Interface in org.apache.mina.protocol
Provides ProtocolEncoder and ProtocolDecoder which translates binary or protocol specific data into message object and vice versa.
ProtocolConnector - Interface in org.apache.mina.protocol
Connects to endpoint, communicates with the server, and fires events to ProtocolProviders.
ProtocolDecoder - Interface in org.apache.mina.protocol
Decodes binary or protocol-specific data into higher-level message objects.
ProtocolDecoderOutput - Interface in org.apache.mina.protocol
Callback for ProtocolDecoder to generate decoded messages.
ProtocolEncoder - Interface in org.apache.mina.protocol
Encodes higher-level message objects into binary or protocol-specific data.
ProtocolEncoderOutput - Interface in org.apache.mina.protocol
Callback for ProtocolEncoder to generate encoded ByteBuffers.
ProtocolFilter - Interface in org.apache.mina.protocol
A filter which intercepts ProtocolHandler events like Servlet filters.
ProtocolFilter.NextFilter - Interface in org.apache.mina.protocol
 
ProtocolFilterAdapter - Class in org.apache.mina.protocol
An abstract adapter class for ProtocolFilter.
ProtocolFilterAdapter() - Constructor for class org.apache.mina.protocol.ProtocolFilterAdapter
 
ProtocolFilterChain - Interface in org.apache.mina.protocol
 
ProtocolHandler - Interface in org.apache.mina.protocol
Handles all protocol events fired by MINA.
ProtocolHandlerAdapter - Class in org.apache.mina.protocol
An abstract adapter class for ProtocolHandler.
ProtocolHandlerAdapter() - Constructor for class org.apache.mina.protocol.ProtocolHandlerAdapter
 
ProtocolLoggingFilter - Class in org.apache.mina.protocol.filter
Logs all MINA protocol events to Logger.
ProtocolLoggingFilter() - Constructor for class org.apache.mina.protocol.filter.ProtocolLoggingFilter
Creates a new instance.
ProtocolProvider - Interface in org.apache.mina.protocol
Provides a required information to implement high-level protocols.
ProtocolSession - Interface in org.apache.mina.protocol
A Session which represents high-level protocol connection between two endpoints regardless of underlying transport types.
ProtocolSessionFilterChain - Class in org.apache.mina.protocol
An IoFilterChain that forwards filterWrite requests to the specified IoSessionManagerFilterChain.
ProtocolSessionFilterChain(ProtocolSessionManagerFilterChain) - Constructor for class org.apache.mina.protocol.ProtocolSessionFilterChain
 
ProtocolSessionManager - Interface in org.apache.mina.protocol
A SessionManager for Protocol layer.
ProtocolSessionManagerFilterChain - Class in org.apache.mina.protocol
An ProtocolFilterChain that forwards all events except filterWrite to the ProtocolSessionFilterChain of the recipient session.
ProtocolSessionManagerFilterChain(ProtocolSessionManager) - Constructor for class org.apache.mina.protocol.ProtocolSessionManagerFilterChain
 
ProtocolThreadPoolFilter - Class in org.apache.mina.protocol.filter
A Thread-pooling filter.
ProtocolThreadPoolFilter() - Constructor for class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
Creates a new instanceof this filter with default thread pool settings.
ProtocolThreadPoolFilter(String) - Constructor for class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
Creates a new instance of this filter with default thread pool settings.
protocolThreadPoolFilter - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
ProtocolViolationException - Exception in org.apache.mina.protocol
An exception that is thrown when ProtocolEncoder cannot understand or failed to validate the specified message, or when ProtocolDecoder cannot understand or failed to validate the specified ByteBuffer content.
ProtocolViolationException() - Constructor for exception org.apache.mina.protocol.ProtocolViolationException
Constructs a new instance.
ProtocolViolationException(String) - Constructor for exception org.apache.mina.protocol.ProtocolViolationException
Constructs a new instance with the specified message.
ProtocolViolationException(Throwable) - Constructor for exception org.apache.mina.protocol.ProtocolViolationException
Constructs a new instance with the specified cause.
ProtocolViolationException(String, Throwable) - Constructor for exception org.apache.mina.protocol.ProtocolViolationException
Constructs a new instance with the specified message and the specified cause.
push(Object) - Method in class org.apache.mina.util.BlockingQueue
 
push(Object) - Method in class org.apache.mina.util.Queue
Enqueue into this queue.
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
 
put(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 

Q

Queue - Class in org.apache.mina.util
A unbounded circular queue.
Queue() - Constructor for class org.apache.mina.util.Queue
Construct a new, empty queue.

R

READ - Static variable in class org.apache.mina.util.EventType
 
READER_IDLE - Static variable in class org.apache.mina.common.IdleStatus
Represents the session status that no data is coming from the remote peer.
RECEIVED - Static variable in class org.apache.mina.util.EventType
 
register(Class) - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
register(MessageEncoder) - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
register(MessageEncoderFactory) - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
register(MessageDecoder) - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
register(MessageDecoderFactory) - Method in class org.apache.mina.protocol.codec.DemuxingProtocolCodecFactory
 
release() - Method in class org.apache.mina.common.ByteBuffer
Releases the specified buffer to buffer pool.
release() - Method in class org.apache.mina.common.ByteBufferProxy
 
remaining() - Method in class org.apache.mina.common.ByteBuffer
 
remaining() - Method in class org.apache.mina.common.ByteBufferProxy
 
remove(String) - Method in class org.apache.mina.io.AbstractIoFilterChain
Removes the interceptor with the specified name from this chain.
remove(String) - Method in interface org.apache.mina.io.IoFilterChain
 
remove(String) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
Removes the interceptor with the specified name from this chain.
remove(String) - Method in interface org.apache.mina.protocol.ProtocolFilterChain
 
remove(int) - Method in class org.apache.mina.util.BlockingQueue
 
remove(Object) - Method in class org.apache.mina.util.BlockingQueue
 
remove() - Method in class org.apache.mina.util.BlockingQueue
 
remove(Object) - Method in class org.apache.mina.util.BlockingSet
 
remove(Object) - Method in class org.apache.mina.util.IdentityHashSet
 
remove(int) - Method in class org.apache.mina.util.Queue
 
remove() - Method in class org.apache.mina.util.Queue
 
remove(Object) - Method in class org.apache.mina.util.Stack
 
removeAll(Collection) - Method in class org.apache.mina.util.BlockingQueue
 
removeAttribute(String) - Method in class org.apache.mina.common.BaseSession
 
removeAttribute(String) - Method in interface org.apache.mina.common.Session
Removes a user-defined attribute with the specified key.
removeAttribute(String) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
removeMessageHandler(Class) - Method in class org.apache.mina.protocol.handler.DemuxingProtocolHandler
Deregisters a MessageHandler that receives the messages of the specified type.
reset() - Method in class org.apache.mina.common.ByteBuffer
 
reset() - Method in class org.apache.mina.common.ByteBufferProxy
 
resetIdleCount(IdleStatus) - Method in class org.apache.mina.common.BaseSession
 
RESULT - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_CODE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_ERROR - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_OK - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
RESULT_VALUE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
ResultMessage - Class in org.apache.mina.examples.sumup.message
RESULT message in SumUp protocol.
ResultMessage() - Constructor for class org.apache.mina.examples.sumup.message.ResultMessage
 
ResultMessageDecoder - Class in org.apache.mina.examples.sumup.codec
ResultMessageDecoder() - Constructor for class org.apache.mina.examples.sumup.codec.ResultMessageDecoder
 
ResultMessageEncoder - Class in org.apache.mina.examples.sumup.codec
ResultMessageEncoder() - Constructor for class org.apache.mina.examples.sumup.codec.ResultMessageEncoder
 
retainAll(Collection) - Method in class org.apache.mina.util.BlockingQueue
 
rewind() - Method in class org.apache.mina.common.ByteBuffer
 
rewind() - Method in class org.apache.mina.common.ByteBufferProxy
 

S

SENT - Static variable in class org.apache.mina.util.EventType
 
SEQUENCE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 
Service - Class in org.apache.mina.registry
Represents a service that is registered to ServiceRegistry.
Service(String, TransportType, int) - Constructor for class org.apache.mina.registry.Service
Creates a new instance with the specified protocol name, transport type, and port number to be bound.
Service(String, TransportType, SocketAddress) - Constructor for class org.apache.mina.registry.Service
Creates a new instance with the specified protocol name, transport type, and socket address to be bound.
ServiceRegistry - Interface in org.apache.mina.registry
Interface for the internet service registry.
Session - Interface in org.apache.mina.common
A handle which represents connection between two endpoints regardless of transport types.
sessionClosed(IoSession) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.SSLFilter
 
sessionClosed(IoSession) - Method in class org.apache.mina.io.handler.StreamIoHandler
Closes input stream.
sessionClosed(IoSession) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
sessionClosed(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.io.IoFilter
sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.IoFilterAdapter
 
sessionClosed(IoSession) - Method in interface org.apache.mina.io.IoHandler
Invoked when the connection is closed.
sessionClosed(IoSession) - Method in class org.apache.mina.io.IoHandlerAdapter
 
sessionClosed(ProtocolSession) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
sessionClosed(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
sessionClosed(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
sessionClosed(ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
sessionClosed(ProtocolFilter.NextFilter, ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolFilter
sessionClosed(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
sessionClosed(ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when the connection is closed.
sessionClosed(ProtocolSession) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
SessionConfig - Interface in org.apache.mina.common
Provides general or TransportType-specific configuration.
sessionCreated(IoSession) - Method in interface org.apache.mina.io.IoHandler
Invoked when the session is created.
sessionCreated(IoSession) - Method in class org.apache.mina.io.IoHandlerAdapter
 
sessionCreated(ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when the session is created.
sessionCreated(ProtocolSession) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.io.handler.StreamIoHandler
Handles read timeout.
sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in interface org.apache.mina.io.IoFilter
sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.io.IoFilterAdapter
 
sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.io.IoHandler
Invoked when the connection is idle.
sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.io.IoHandlerAdapter
 
sessionIdle(ProtocolSession, IdleStatus) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
sessionIdle(ProtocolFilter.NextFilter, ProtocolSession, IdleStatus) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
sessionIdle(ProtocolFilter.NextFilter, ProtocolSession, IdleStatus) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
sessionIdle(ProtocolSession, IdleStatus) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
sessionIdle(ProtocolFilter.NextFilter, ProtocolSession, IdleStatus) - Method in interface org.apache.mina.protocol.ProtocolFilter
sessionIdle(ProtocolFilter.NextFilter, ProtocolSession, IdleStatus) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
sessionIdle(ProtocolSession, IdleStatus) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when the connection is idle.
sessionIdle(ProtocolSession, IdleStatus) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
SessionLog - Class in org.apache.mina.util
Provides utility methods to log protocol-specific messages.
SessionLog() - Constructor for class org.apache.mina.util.SessionLog
 
SessionManager - Interface in org.apache.mina.common
Base interface for all acceptors and connectors that manage sessions.
sessionOpened(IoSession) - Method in class org.apache.mina.io.AbstractIoFilterChain
 
sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.BlacklistFilter
Close connection immediately if the remote address of session is blacklisted.
sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.IoLoggingFilter
 
sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.IoThreadPoolFilter
 
sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.filter.SSLFilter
 
sessionOpened(IoSession) - Method in class org.apache.mina.io.handler.StreamIoHandler
Initializes streams and timeout settings.
sessionOpened(IoSession) - Method in interface org.apache.mina.io.IoFilter.NextFilter
 
sessionOpened(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.io.IoFilter
sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.io.IoFilterAdapter
 
sessionOpened(IoSession) - Method in interface org.apache.mina.io.IoHandler
Invoked when the connection is opened.
sessionOpened(IoSession) - Method in class org.apache.mina.io.IoHandlerAdapter
 
sessionOpened(ProtocolSession) - Method in class org.apache.mina.protocol.AbstractProtocolFilterChain
 
sessionOpened(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.filter.ProtocolLoggingFilter
 
sessionOpened(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.filter.ProtocolThreadPoolFilter
 
sessionOpened(ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolFilter.NextFilter
 
sessionOpened(ProtocolFilter.NextFilter, ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolFilter
sessionOpened(ProtocolFilter.NextFilter, ProtocolSession) - Method in class org.apache.mina.protocol.ProtocolFilterAdapter
 
sessionOpened(ProtocolSession) - Method in interface org.apache.mina.protocol.ProtocolHandler
Invoked when the connection is opened.
sessionOpened(ProtocolSession) - Method in class org.apache.mina.protocol.ProtocolHandlerAdapter
 
SessionUtil - Class in org.apache.mina.util
Exception utility.
set(int, Object) - Method in class org.apache.mina.util.BlockingQueue
 
set(int, Object) - Method in class org.apache.mina.util.Queue
 
setAttachment(Object) - Method in class org.apache.mina.common.BaseSession
 
setAttachment(Object) - Method in interface org.apache.mina.common.Session
Sets an attachment of this session.
setAttachment(Object) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
setAttribute(String, Object) - Method in class org.apache.mina.common.BaseSession
 
setAttribute(String, Object) - Method in interface org.apache.mina.common.Session
Sets a user-defined attribute.
setAttribute(String, Object) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
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
 
setBacklog(int) - Method in class org.apache.mina.io.socket.SocketAcceptor
Sets the default backlog value which is used when user binds.
setEnabledCipherSuites(String[]) - Method in class org.apache.mina.io.filter.SSLFilter
Sets the list of cipher suites to be enabled when SSLEngine is initialized.
setEnabledProtocols(String[]) - Method in class org.apache.mina.io.filter.SSLFilter
Sets the list of protocols to be enabled when SSLEngine is initialized.
setExceptionMonitor(ExceptionMonitor) - Method in class org.apache.mina.common.BaseSessionManager
 
setExceptionMonitor(ExceptionMonitor) - Method in interface org.apache.mina.common.SessionManager
Sets the uncaught exception monitor.
setExceptionMonitor(ExceptionMonitor) - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
setExceptionMonitor(ExceptionMonitor) - Method in class org.apache.mina.protocol.io.IoProtocolConnector
 
setHexdump(String) - Method in exception org.apache.mina.protocol.ProtocolViolationException
Sets the hexdump of the unknown message part.
setIdleTime(IdleStatus, int) - Method in class org.apache.mina.common.BaseSessionConfig
 
setIdleTime(IdleStatus, int) - Method in interface org.apache.mina.common.SessionConfig
Sets idle time for the specified type of idleness in seconds.
setKeepAlive(boolean) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setKeepAliveTime(int) - Method in class org.apache.mina.util.BaseThreadPool
 
setKeepAliveTime(int) - Method in interface org.apache.mina.util.ThreadPool
Sets the keep-alive time until the thread suicides after it became idle (milliseconds unit).
setMaximumPoolSize(int) - Method in class org.apache.mina.util.BaseThreadPool
 
setMaximumPoolSize(int) - Method in interface org.apache.mina.util.ThreadPool
Sets the maximum size of the thread pool.
setNeedClientAuth(boolean) - Method in class org.apache.mina.io.filter.SSLFilter
Configures the engine to require client authentication.
setOk(boolean) - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
setOOBInline(boolean) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
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.io.handler.StreamIoHandler
Sets read timeout in seconds.
setReceiveBufferSize(int) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setReuseAddress(boolean) - Method in class org.apache.mina.io.datagram.DatagramSessionConfig
 
setReuseAddress(boolean) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setSendBufferSize(int) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setSequence(int) - Method in class org.apache.mina.examples.sumup.message.AbstractMessage
 
setSessionReceiveBufferSize(int) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setSoLinger(boolean, int) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setSslEnabled(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
setSslEnabled(boolean) - Static method in class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
setTcpNoDelay(boolean) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setTrafficClass(int) - Method in class org.apache.mina.io.datagram.DatagramSessionConfig
 
setTrafficClass(int) - Method in class org.apache.mina.io.socket.SocketSessionConfig
 
setUseClientMode(boolean) - Method in class org.apache.mina.io.filter.SSLFilter
Configures the engine to use client (or server) mode when handshaking.
setValue(int) - Method in class org.apache.mina.examples.sumup.message.AddMessage
 
setValue(int) - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
setWantClientAuth(boolean) - Method in class org.apache.mina.io.filter.SSLFilter
Configures the engine to request client authentication.
setWriteTimeout(int) - Method in class org.apache.mina.common.BaseSessionConfig
 
setWriteTimeout(int) - Method in interface org.apache.mina.common.SessionConfig
Sets write timeout in seconds.
setWriteTimeout(int) - Method in class org.apache.mina.io.handler.StreamIoHandler
Sets write timeout in seconds.
SimpleProtocolDecoderOutput - Class in org.apache.mina.protocol
A ProtocolDecoderOutput based on queue.
SimpleProtocolDecoderOutput() - Constructor for class org.apache.mina.protocol.SimpleProtocolDecoderOutput
 
SimpleProtocolEncoderOutput - Class in org.apache.mina.protocol
A ProtocolEncoderOutput based on queue.
SimpleProtocolEncoderOutput() - Constructor for class org.apache.mina.protocol.SimpleProtocolEncoderOutput
 
SimpleServiceRegistry - Class in org.apache.mina.registry
A simple implementation of ServiceRegistry.
SimpleServiceRegistry() - Constructor for class org.apache.mina.registry.SimpleServiceRegistry
 
size() - Method in class org.apache.mina.util.BlockingQueue
 
size() - Method in class org.apache.mina.util.IdentityHashSet
 
size() - Method in class org.apache.mina.util.Queue
Returns the number of elements in the queue.
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
 
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.io.socket
IoAcceptor for socket transport (TCP/IP).
SocketAcceptor() - Constructor for class org.apache.mina.io.socket.SocketAcceptor
Creates a new instance.
SocketConnector - Class in org.apache.mina.io.socket
IoConnector for socket transport (TCP/IP).
SocketConnector() - Constructor for class org.apache.mina.io.socket.SocketConnector
Creates a new instance.
socketIoAcceptor - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
socketProtocolAcceptor - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
SocketSessionConfig - Class in org.apache.mina.io.socket
A SessionConfig for socket transport (TCP/IP).
SSL_SESSION - Static variable in class org.apache.mina.io.filter.SSLFilter
A session attribute key that stores underlying SSLSession for each session.
SSLFilter - Class in org.apache.mina.io.filter
An SSL filter that encrypts and decrypts the data exchanged in the session.
SSLFilter(SSLContext) - Constructor for class org.apache.mina.io.filter.SSLFilter
Creates a new SSL filter using the specified SSLContext.
SSLServerSocketFactory - Class in org.apache.mina.examples.echoserver.ssl
Simple Server Socket factory to create sockets with or without SSL enabled.
SSLServerSocketFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.SSLServerSocketFactory
 
SSLSocketFactory - Class in org.apache.mina.examples.echoserver.ssl
Simple Socket factory to create sockets with or without SSL enabled.
SSLSocketFactory() - Constructor for class org.apache.mina.examples.echoserver.ssl.SSLSocketFactory
 
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.util.BaseThreadPool
 
start() - Method in interface org.apache.mina.util.ThreadPool
Starts thread pool threads and starts forwarding events to them.
stop() - Method in class org.apache.mina.util.BaseThreadPool
 
stop() - Method in interface org.apache.mina.util.ThreadPool
Stops all thread pool threads.
StreamIoHandler - Class in org.apache.mina.io.handler
A IoHandler that adapts asynchronous MINA events to stream I/O.
StreamIoHandler() - Constructor for class org.apache.mina.io.handler.StreamIoHandler
 
subList(int, int) - Method in class org.apache.mina.util.BlockingQueue
 
SumUpProtocolCodecFactory - Class in org.apache.mina.examples.sumup.codec
A ProtocolCodecFactory that provides a protocol codec for SumUp protocol.
SumUpProtocolCodecFactory(boolean) - Constructor for class org.apache.mina.examples.sumup.codec.SumUpProtocolCodecFactory
 

T

ThreadPool - Interface in org.apache.mina.util
A generic thread pool interface.
throwException(Throwable) - Static method in class org.apache.mina.util.ExceptionUtil
 
toArray() - Method in class org.apache.mina.util.BlockingQueue
 
toArray(Object[]) - Method in class org.apache.mina.util.BlockingQueue
 
toString() - Method in class org.apache.mina.common.ByteBuffer
 
toString() - Method in class org.apache.mina.common.ByteBufferProxy
 
toString() - Method in class org.apache.mina.common.IdleStatus
Returns the string representation of this status.
toString() - Method in class org.apache.mina.common.TransportType
 
toString() - Method in class org.apache.mina.examples.sumup.message.AddMessage
 
toString() - Method in class org.apache.mina.examples.sumup.message.ResultMessage
 
toString() - Method in class org.apache.mina.protocol.codec.MessageDecoderResult
 
toString() - Method in class org.apache.mina.protocol.vmpipe.VmPipeAddress
 
toString() - Method in class org.apache.mina.registry.Service
 
toString() - Method in class org.apache.mina.util.BlockingQueue
 
toString() - Method in class org.apache.mina.util.Queue
 
TransportType - Class in org.apache.mina.common
Represents network transport types.
TransportType(String[], boolean) - Constructor for class org.apache.mina.common.TransportType
Creates a new instance.
TYPE_LEN - Static variable in class org.apache.mina.examples.sumup.codec.Constants
 

U

unbind(SocketAddress) - Method in class org.apache.mina.io.datagram.DatagramAcceptor
 
unbind(SocketAddress) - Method in interface org.apache.mina.io.IoAcceptor
Unbinds from the specified address.
unbind(SocketAddress) - Method in class org.apache.mina.io.socket.SocketAcceptor
 
unbind(SocketAddress) - Method in class org.apache.mina.protocol.io.IoProtocolAcceptor
 
unbind(SocketAddress) - Method in interface org.apache.mina.protocol.ProtocolAcceptor
Unbinds from the specified address.
unbind(SocketAddress) - Method in class org.apache.mina.protocol.vmpipe.VmPipeAcceptor
 
unbind(Service) - Method in interface org.apache.mina.registry.ServiceRegistry
Unbinds the specified service (and its aggregated I/O handler or protocol provider).
unbind(Service) - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
unbindAll() - Method in interface org.apache.mina.registry.ServiceRegistry
Unbinds all services (and their aggregated I/O handlers or protocol providers).
unbindAll() - Method in class org.apache.mina.registry.SimpleServiceRegistry
 
unblock(InetAddress) - Method in class org.apache.mina.io.filter.BlacklistFilter
Unblocks the specified endpoint.
UnknownMessageTypeException - Exception in org.apache.mina.protocol.handler
An exception that is thrown when DemuxingProtocolHandler cannot find any MessageHandlers associated with the specific message type.
UnknownMessageTypeException() - Constructor for exception org.apache.mina.protocol.handler.UnknownMessageTypeException
 
UnknownMessageTypeException(String, Throwable) - Constructor for exception org.apache.mina.protocol.handler.UnknownMessageTypeException
 
UnknownMessageTypeException(String) - Constructor for exception org.apache.mina.protocol.handler.UnknownMessageTypeException
 
UnknownMessageTypeException(Throwable) - Constructor for exception org.apache.mina.protocol.handler.UnknownMessageTypeException
 

V

VM_PIPE - Static variable in class org.apache.mina.common.TransportType
Transport type: in-VM pipe (Registry name: "VM_PIPE") Please refer to org.apache.mina.protocol.vmpipe package.
VmPipeAcceptor - Class in org.apache.mina.protocol.vmpipe
Binds the specified ProtocolProvider to the specified VmPipeAddress.
VmPipeAcceptor() - Constructor for class org.apache.mina.protocol.vmpipe.VmPipeAcceptor
Creates a new instance.
vmPipeAcceptor - Variable in class org.apache.mina.registry.SimpleServiceRegistry
 
VmPipeAddress - Class in org.apache.mina.protocol.vmpipe
A SocketAddress which represents in-VM pipe port number.
VmPipeAddress(int) - Constructor for class org.apache.mina.protocol.vmpipe.VmPipeAddress
Creates a new instance with the specifid port number.
VmPipeConnector - Class in org.apache.mina.protocol.vmpipe
Connects to ProtocolProviders which is bound on the specified VmPipeAddress.
VmPipeConnector() - Constructor for class org.apache.mina.protocol.vmpipe.VmPipeConnector
Creates a new instance.
VmPipeSessionConfig - Class in org.apache.mina.protocol.vmpipe
A SessionConfig for in-VM pipe transport.
VmPipeSessionConfig() - Constructor for class org.apache.mina.protocol.vmpipe.VmPipeSessionConfig
 

W

waitForNewItem() - Method in class org.apache.mina.util.BlockingQueue
Waits until any elements are in this queue.
waitForNewItem() - Method in class org.apache.mina.util.BlockingSet
 
warn(Session, String) - Static method in class org.apache.mina.util.SessionLog
 
warn(Session, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
 
wrap(ByteBuffer) - Static method in class org.apache.mina.common.ByteBuffer
Wraps the specified NIO ByteBuffer into MINA buffer.
wrap(byte[]) - Static method in class org.apache.mina.common.ByteBuffer
Wraps the specified byte array into MINA heap buffer.
wrap(byte[], int, int) - Static method in class org.apache.mina.common.ByteBuffer
Wraps the specified byte array into MINA heap buffer.
write(ByteBuffer, Object) - Method in interface org.apache.mina.io.IoSession
Writes the content of the specified buf.
write(Object) - Method in class org.apache.mina.protocol.io.IoProtocolSession
 
write(Object) - Method in interface org.apache.mina.protocol.ProtocolDecoderOutput
Callback for ProtocolDecoder to generate decoded messages.
write(ByteBuffer) - Method in interface org.apache.mina.protocol.ProtocolEncoderOutput
Callback for ProtocolEncoder to generate encoded ByteBuffers.
write(Object) - Method in interface org.apache.mina.protocol.ProtocolSession
Writes the specified message to remote peer.
write(Object) - Method in class org.apache.mina.protocol.SimpleProtocolDecoderOutput
 
write(ByteBuffer) - Method in class org.apache.mina.protocol.SimpleProtocolEncoderOutput
 
WRITER_IDLE - Static variable in class org.apache.mina.common.IdleStatus
Represents the session status that the session is not writing any data.
WriteTimeoutException - Exception in org.apache.mina.io
An IOException which is thrown when write buffer is not flushed for SessionConfig.getWriteTimeout() seconds.
WriteTimeoutException() - Constructor for exception org.apache.mina.io.WriteTimeoutException
Creates a new exception.
WriteTimeoutException(String) - Constructor for exception org.apache.mina.io.WriteTimeoutException
Creates a new exception.
WRITTEN - Static variable in class org.apache.mina.util.EventType
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links