- 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
-
- AddMessageDecoder() - Constructor for class org.apache.mina.examples.sumup.codec.AddMessageDecoder
-
- AddMessageEncoder - Class in org.apache.mina.examples.sumup.codec
-
- 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.
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
ProtocolHandler
s.
- ProtocolCodecFactory - Interface in org.apache.mina.protocol
-
- ProtocolConnector - Interface in org.apache.mina.protocol
-
Connects to endpoint, communicates with the server, and fires events to
ProtocolProvider
s.
- 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
-
- 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
-
- ProtocolFilter - Interface in org.apache.mina.protocol
-
- ProtocolFilter.NextFilter - Interface in org.apache.mina.protocol
-
- ProtocolFilterAdapter - Class in org.apache.mina.protocol
-
- 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
-
- 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
-
- ProtocolSessionFilterChain(ProtocolSessionManagerFilterChain) - Constructor for class org.apache.mina.protocol.ProtocolSessionFilterChain
-
- ProtocolSessionManager - Interface in org.apache.mina.protocol
-
- ProtocolSessionManagerFilterChain - Class in org.apache.mina.protocol
-
- 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
-
- 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
-
- 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
-
- 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
-
- SimpleProtocolDecoderOutput() - Constructor for class org.apache.mina.protocol.SimpleProtocolDecoderOutput
-
- SimpleProtocolEncoderOutput - Class in org.apache.mina.protocol
-
- SimpleProtocolEncoderOutput() - Constructor for class org.apache.mina.protocol.SimpleProtocolEncoderOutput
-
- SimpleServiceRegistry - Class in org.apache.mina.registry
-
- 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
-
- SocketAcceptor() - Constructor for class org.apache.mina.io.socket.SocketAcceptor
-
Creates a new instance.
- SocketConnector - Class in org.apache.mina.io.socket
-
- 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
-
- 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
-
- SumUpProtocolCodecFactory(boolean) - Constructor for class org.apache.mina.examples.sumup.codec.SumUpProtocolCodecFactory
-