|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
baseName
in this chain.
baseName
in this chain.
MessageHandler
that receives the messages of
the specified type
.
SocketAddress
which represents anonymous address.InputStream
that reads the data from this buffer.
OutputStream
that appends the data into this buffer.
TextLineDecoder
.
ByteBuffer.expand(int)
only when
autoExpand property is true.
ByteBuffer.expand(int)
only when
autoExpand property is true.
address
and handles incoming
connections with the specified handler
.
address
and handles incoming
connections with the specified handler
.
IoHandler
binding.IoFilter
which blocks connections from blacklisted remote
address.Queue
.TrustManagerFactory
which creates
X509TrustManager
trusting everything.IdleStatus.READER_IDLE
and IdleStatus.WRITER_IDLE
.
RuntimeException
which is thrown when the data the ByteBuffer
contains is corrupt.ByteBuffer
that wraps a buffer and proxies any operations to it.IoHandler
which executes an IoHandlerChain
on a messageReceived event.IoHandlerChain
.
IoHandlerChain
on a messageReceived event.
IoFuture
for asynchronous close requests.address
.
address
.
address
.
address
.
IoFuture
for asynchronous connect requests.IoFilter
with the
specified name.
IoFilter
of the
specified filterType.
KeyStore
.
ProtocolDecoder
that cumulates the content of received
buffers to a cumulative buffer to help users implement decoders.IoAcceptor
for datagram transport (UDP/IP).AbstractIoAcceptorFactoryBean
implementation which allows for easy
configuration of DatagramAcceptor
instances using Spring.IoConnector
for datagram transport (UDP/IP).AbstractIoConnectorFactoryBean
implementation which allows for easy
configuration of DatagramConnector
instances using Spring.IoSession
for datagram transport (UDP/IP).CumulativeProtocolDecoder.doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
IoFilterChainBuilder
which is useful
in most cases.IoHandler
that demuxes messageReceived
events
to the appropriate MessageHandler
.MessageHandler
s.
ProtocolCodecFactory
that consists of multiple
MessageEncoder
s and MessageDecoder
s.IoFilterChain
anymore, so you can destroy shared resources.
IoHandler.exceptionCaught(IoSession,Throwable)
event.
IoHandler
implementation or by MINA.
IoHandlerCommand
in the
IoHandlerChain
.
ThreadPoolFilter.SessionBuffer
from
the given unfetchedSessionBuffers.
NUL (0x00)
.
NUL (0x00)
.
IoSession.close()
method invocation.
IoSession.write(Object)
method invocation.
ProtocolEncoderOutput.write(ByteBuffer)
to
the session.
IoFilter
with the specified name in this chain.
IoFilterChain.Entry
s this chain contains.
IoFilterChain.Entry
s this chain contains.
Set
of all services bound in this registry.
Set
of currently available port numbers
(Integer
).
Set
of currently avaliable port numbers (Integer
)
between the specified port range.
IoFuture.Callback
which is associated with this future.
IoHandlerCommand
this handler will use to
handle messageReceived events.
CloseFuture
of this session.
ProtocolDecoder
which
decodes binary or protocol-specific data into message objects.
SSLEngine
is initialized.
SSLEngine
is initialized.
ProtocolEncoder
which
encodes message objects into binary or protocol-specific data.
IoFilterChain.Entry
with the specified name in this chain.
IoSessionManager.getFilterChainBuilder()
).
IoFilterChainBuilder
which will modify the
IoFilterChain
of all IoSession
s which is managed
by this manager.
IoFilterMapping
objects configured for this
binding.
WriteFuture
that is associated with this write request.
IoHandler
which handles this session.
IdleStatus
.
TrafficMask
instance from the
specified interestOps.
SelectionKey
for this mask.
IdleStatus
.
IoSessionManager
which manages this session.
MessageHandler
which is registered to process
the specified type
.
Map
which contains all messageType-MessageHandler
pairs registered to this handler.
IoHandlerCommand.NextCommand
of the command.
IoFilter.NextFilter
of the filter.
IoFilter.NextFilter
of the IoFilter
with the
specified name in this chain.
ClassLoader
of the current thread.
decoder
and returns it.
decoder
and returns it.
Set
of services bound in this registry with the
specified service(or protocol) name.
Set
of services bound in this registry with the
specified transport type.
Set
of services bound in this registry with the
specified port number.
IoSession
which is the result of connect operation.
IoSession
of this chain.
SSLSession
for the specified session.
NUL
-terminated string from this buffer using the
specified decoder
and returns it.
NUL
-terminated string from this buffer using the
specified decoder
and returns it.
TrafficMask
of this session.
IdentityHashMap
-backed Set
.IoSession
or
IoSession
.IoFilterChain
at the first time, so you can initialize shared resources.
IoHandler
s.IoHandler
s.IoHandler
events like Servlet
filters.IoFilter
in IoFilterChain
.IoSession.write(Object)
.WriteFuture
.
WriteFuture
.
IoFilter
.IoFilter
s that forwards IoHandler
events
to the consisting filters and terminal IoHandler
sequentially.IoFilterChain
contains.IoFilterChain
in predefined way
when IoSession
is created.RuntimeException
which is thrown when IoFilter.init()
or IoFilter.onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)
failed.IoFilter
.IoFuture
becomes available.IoHandler
.IoHandlerCommand
s.IoHandlerCommand
s.
IoHandlerChain
contains.IoHandlerCommand
encapsulates a unit of processing work to be
performed, whose purpose is to examine and/or modify the state of a
transaction that is represented by custom attributes provided by
IoSession
.IoHandlerCommand
of
the IoHandlerChain
.true if and only if this session is being closed
(but not disconnected yet) or is closed.
- isConnected() -
Method in class org.apache.mina.common.ConnectFuture
- Returns true if the connect operation is finished successfully.
- isConnected() -
Method in interface org.apache.mina.common.IoSession
- Returns
true
if this session is connected with remote peer.
- isConnectionless() -
Method in class org.apache.mina.common.TransportType
- Returns
true
if the session of this transport type is
connectionless.
- isDebugEnabled(IoSession) -
Static method in class org.apache.mina.util.SessionLog
-
- 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.
- isErrorEnabled(IoSession) -
Static method in class org.apache.mina.util.SessionLog
-
- isIdle(IdleStatus) -
Method in interface org.apache.mina.common.IoSession
- Returns
true
if this session is idle for the specified
IdleStatus
.
- isInfoEnabled(IoSession) -
Static method in class org.apache.mina.util.SessionLog
-
- isNeedClientAuth() -
Method in class org.apache.mina.filter.SSLFilter
- Returns true if the engine will require client authentication.
- 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
-
- isReadable() -
Method in class org.apache.mina.common.TrafficMask
- Returns true if this mask allows a read operation.
- isReady() -
Method in class org.apache.mina.common.IoFuture
- Returns if the asynchronous operation is finished.
- isReuseAddress() -
Method in class org.apache.mina.transport.socket.nio.SocketAcceptor
-
- isSSLStarted(IoSession) -
Method in class org.apache.mina.filter.SSLFilter
- Returns true if and only if the specified session is
encrypted/decrypted over SSL/TLS currently.
- isUseClientMode() -
Method in class org.apache.mina.filter.SSLFilter
- Returns true if the engine is set to use client mode
when handshaking.
- isWantClientAuth() -
Method in class org.apache.mina.filter.SSLFilter
- Returns true if the engine will request client authentication.
- isWarnEnabled(IoSession) -
Static method in class org.apache.mina.util.SessionLog
-
- isWritable() -
Method in class org.apache.mina.common.TrafficMask
- Returns true if this mask allows a write operation.
- isWritten() -
Method in class org.apache.mina.common.WriteFuture
- Returns true if the write operation is finished successfully.
- iterator() -
Method in class org.apache.mina.util.BlockingQueue
-
- iterator() -
Method in class org.apache.mina.util.IdentityHashSet
-
FactoryBean
implementation
which makes it possible to configure KeyStore
instances
using Spring.Logger
Logger
Logger
.ProtocolEncoderOutput.write(ByteBuffer)
into
one ByteBuffer
and replaces the old fragmented ones with it.
MessageDecoder
.MessageDecoder
.MessageEncoder.getMessageTypes()
.MessageEncoder
.DemuxingIoHandler
forwards
messageReceived
events to.IoHandler.messageReceived(IoSession,Object)
event.
IoHandlerCommand
or IoHandlerChain
you specified
in the constructor.
MessageHandler
which is registered by DemuxingIoHandler.addMessageHandler(Class, MessageHandler)
.
session
.
IoHandler.messageSent(IoSession,Object)
event.
IoSession.write(Object)
is sent out actually.
MessageDecoder.decodable(IoSession, ByteBuffer)
and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
ConnectFuture
which is already marked as 'failed to connect'.
WriteFuture
which is already marked as 'not written'.
IoSession
that is bound to the specified
localAddress and remoteAddress which reuses
the localAddress that is already bound by IoAcceptor
via IoAcceptor.bind(SocketAddress, IoHandler)
.
WriteFuture
which is already marked as 'written'.
MessageHandler
that does nothing.
MessageDecoder.decodable(IoSession, ByteBuffer)
and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
ProtocolCodecFactory
that serializes and deserializes Java objects.ClassLoader
of
the current thread.
ClassLoader
.
ProtocolDecoder
which deserializes Serializable
Java
objects using ByteBuffer.getObject(ClassLoader)
.ClassLoader
of
the current thread.
ClassLoader
.
ProtocolEncoder
which serializes Serializable
Java objects
using ByteBuffer.putObject(Object)
.MessageDecoder.decodable(IoSession, ByteBuffer)
and
MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(IoSession, ByteBuffer)
and MessageDecoder.decode(IoSession, ByteBuffer, ProtocolDecoderOutput)
.
IoFuture
has been completed.
Integer.parseInt(java.lang.String)
.
ProtocolEncoder
or
ProtocolDecoder
cannot understand or failed to validate
data to process.ProtocolEncoder
and ProtocolDecoder
which translates
binary or protocol specific data into message object and vice versa.ProtocolDecoder
implementation for those who don't have any
resources to dispose.ProtocolDecoder
cannot understand or failed to validate the specified ByteBuffer
content.ProtocolDecoder
to generate decoded messages.ProtocolEncoder
implementation for those who don't have any
resources to dispose.ProtocolEncoder
cannot understand or failed to validate the specified message object.ProtocolEncoder
to generate encoded ByteBuffer
s.in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
in
into this buffer using the
specified encoder
.
in
into this buffer as a
NUL
-terminated string using the specified
encoder
.
MessageHandler
that receives the messages of
the specified type
.
IoSession.setTrafficMask(TrafficMask)
that
resumes read operations for this session.
IoSession.setTrafficMask(TrafficMask)
that
resumes write operations for this session.
ServiceRegistry
.IoSession
attribute which contains
Service
object if the IoSession
is created from
ServiceRegistry
.
IoHandler.messageReceived(IoSession, Object)
event when the session is secured and its SSLFilter.USE_NOTIFICATION
attribute is set.
IoHandler.messageReceived(IoSession, Object)
event when the session is not secure anymore and its SSLFilter.USE_NOTIFICATION
attribute is set.
IoHandler.sessionClosed(IoSession)
event.
IoHandler.sessionCreated(IoSession)
event.
IoHandler.sessionIdle(IoSession,IdleStatus)
event.
IoHandler.sessionOpened(IoSession)
event.
backlog
property of the SocketAcceptor
this factory bean will create.
IoFuture.Callback
to be notified when a result
becomes available.
SSLEngine
is initialized.
SSLEngine
is initialized.
IoFilterChainBuilder
which will modify the
IoFilterChain
of all IoSession
s which is managed
by this manager.
KeyManagerFactory
to use.
KeyManagerFactory
using KeyManagerFactory.getInstance(java.lang.String)
or
KeyManagerFactory.getInstance(java.lang.String, java.lang.String)
.
true
while no KeyManagerFactory
has been set using SSLContextFactoryBean.setKeyManagerFactory(KeyManagerFactory)
and
no algorithm has been set using
SSLContextFactoryBean.setKeyManagerFactoryAlgorithm(String)
the default algorithm
return by KeyManagerFactory.getDefaultAlgorithm()
will be used.
KeyStore
which will be used in the call to
KeyManagerFactory.init(java.security.KeyStore, char[])
when
the SSLContext
is created.
KeyManagerFactory.init(java.security.KeyStore, char[])
when
the SSLContext
is created.
KeyManagerFactory
using
KeyManagerFactory.getInstance(java.lang.String, java.lang.String)
.
SSLContext
.
receiveBufferSize
property of the
SocketAcceptor
this factory bean will create.
Resource
which contains the key store.
reuseAddress
property of the
SocketAcceptor
this factory bean will create.
SecureRandom
to use when initializing the
SSLContext
.
TrafficMask
of this session which will result
the parent IoSessionManager
to start to control the traffic
of this session immediately.
TrustManagerFactory
to use.
TrustManagerFactory
using TrustManagerFactory.getInstance(java.lang.String)
or
TrustManagerFactory.getInstance(java.lang.String, java.lang.String)
.
true
while no TrustManagerFactory
has been set using SSLContextFactoryBean.setTrustManagerFactory(TrustManagerFactory)
and
no algorithm has been set using
SSLContextFactoryBean.setTrustManagerFactoryAlgorithm(String)
the default algorithm
return by TrustManagerFactory.getDefaultAlgorithm()
will be used.
KeyStore
which will be used in the call to
TrustManagerFactory.init(java.security.KeyStore)
when
the SSLContext
is created.
TrustManagerFactory
using
TrustManagerFactory.getInstance(java.lang.String, java.lang.String)
.
ServiceRegistry
.size
bytes.
IoAcceptor
for socket transport (TCP/IP).AbstractIoAcceptorFactoryBean
implementation which allows for easy
configuration of SocketAcceptor
instances using Spring.IoConnector
for socket transport (TCP/IP).AbstractIoConnectorFactoryBean
implementation which allows for easy
configuration of SocketConnector
instances using Spring.IoSession
for socket transport (TCP/IP).IoSessionManager
which provides some properties related with
NIO sockets.SSLSession
for each session.
FactoryBean
implementation
which makes it possible to configure SSLContext
instances using Spring.SSLContext
.
SSLFilter
when the connection became
secure or is not secure anymore.IoHandler
that adapts asynchronous MINA events to stream I/O.IoSession.setTrafficMask(TrafficMask)
that
suspends read operations for this session.
IoSession.setTrafficMask(TrafficMask)
that
suspends write operations for this session.
ProtocolCodecFactory
that performs encoding and decoding between
a text line data and a Java string object.Charset
.
Charset
.
ProtocolDecoder
which decodes a text line into a string.Charset
and LineDelimiter.AUTO
delimiter.
LineDelimiter.AUTO
delimiter.
ProtocolEncoder
which encodes a string into a text line
which ends with the delimiter.IoSession
with IoSession.setTrafficMask(TrafficMask)
.address
and disconnects all clients
connected there.
DemuxingIoHandler
cannot find any MessageHandler
s associated with the specific
message type.IoHandler.messageReceived(IoSession, Object)
event with a
special message (SSLFilter.SESSION_SECURED
or SSLFilter.SESSION_UNSECURED
).
IoHandler
to the specified
VmPipeAddress
.AbstractIoAcceptorFactoryBean
implementation which allows for easy
configuration of VmPipeAcceptor
instances using Spring.SocketAddress
which represents in-VM pipe port number.IoHandler
s which is bound on the specified
VmPipeAddress
.AbstractIoConnectorFactoryBean
implementation which allows for easy
configuration of VmPipeConnector
instances using Spring.IoSession
for in-VM transport (VM_PIPE).ByteBuffer
into MINA buffer.
message
to remote peer.
ProtocolDecoder
to generate decoded messages.
ProtocolEncoder
to generate encoded
ByteBuffer
s.
IoFuture
for asynchronous write requests.IOException
which is thrown when write buffer is not flushed for
IoSession.getWriteTimeout()
seconds.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |