|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
IoFilterChain
that provides
common operations for developers to support specific transport types.ProtocolFilterChain
that provides
common operations for developers to extend protocol layer.baseName
in this chain.
baseName
in this chain.
baseName
in this chain.
baseName
in this chain.
Session
.SessionConfig
s.SessionManager
s.address
and handles incoming
connections with the specified handler
.
address
and handles incoming
connections with the specified handler
.
address
and handles incoming
connections with the specified protocolProvider
.
IoFilter
which blocks connections from blacklisted remote
address.HashSet
that can wait until it is not empty.IdleStatus.READER_IDLE
and IdleStatus.WRITER_IDLE
.
ByteBuffer
that wraps a buffer and proxies any operations to it.address
.
address
.
address
with timeout.
address
with timeout.
address
.
address
.
address
with timeout.
address
with timeout.
ProtocolDecoder
that cumulates the content of received
buffers to a cumulative buffer to help users implement decoders.IoAcceptor
for datagram transport (UDP/IP).IoConnector
for datagram transport (UDP/IP).SessionConfig
for datagram transport (UDP/IP).IoHandler.dataRead(IoSession, ByteBuffer)
event.
IoHandler.dataWritten(IoSession, Object)
event.
IoSession.write(ByteBuffer, Object)
request successfully.
CumulativeProtocolDecoder.doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
ExceptionMonitor
implementation that logs uncaught
exceptions using Logger
.ProtocolCodecFactory
that consists of multiple
MessageEncoder
s and MessageDecoder
s.ProtocolHandler
that demuxes messageReceived
events
to the appropriate MessageHandler
.MessageHandler
s.
MessageHandler
that receives the messages of
the specified type
.
IoHandler.exceptionCaught(IoSession, Throwable)
event.
IoHandler
implementation or by MINA.
ProtocolHandler.exceptionCaught(ProtocolSession,Throwable)
event.
ProtocolHandler
implementation or by MINA.
NUL (0x00)
.
NUL (0x00)
.
IoSession.write(ByteBuffer, Object)
method invocation.
ProtocolSession.write(Object)
method invocation.
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.
ProtocolDecoder
for this session.
SSLEngine
is initialized.
SSLEngine
is initialized.
ProtocolEncoder
for this session.
ProtocolHandler
which handles this session.
IoAcceptor
instance this acceptor is
wrapping.
IoConnector
instance this acceptor is
wrapping.
IoSession
this session is backed by.
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.
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.
IoSession
or
ProtocolSession
.IoHandler
s.IoHandler
s.IoHandler
events like Servlet filters.IoFilter
.IoAcceptor
and IoConnector
.IoHandler
.Logger
.ProtocolAcceptor
which wraps IoAcceptor
to provide
low-level I/O.IoAcceptor
.
ProtocolConnector
which wraps IoConnector
to provide
low-level I/O.IoConnector
.
ProtocolSession
that is backed by IoSession
.Session
that represents low-level I/O connection between two
endpoints regardless of underlying transport types.IoFilterChain
that forwards filterWrite
requests to the specified IoSessionManagerFilterChain
.SessionManager
for I/O layer.IoFilterChain
that forwards all events
except filterWrite to the IoSessionFilterChain
of the recipient session.true
if this session is connected with remote peer.
true
if the queue is empty.
true
if the stack is empty.
true
if this session is idle for the specified
IdleStatus
.
true
if the session of this transport type is
stateless.
Logger
Logger
Logger
ProtocolEncoderOutput.write(ByteBuffer)
into
one ByteBuffer
and replaces the old fragmented ones with it.
MessageDecoder
.MessageDecoder
.MessageEncoder.getMessageTypes()
.MessageEncoder
.DemuxingProtocolHandler
forwards
messageReceived
events to.MessageHandler
which is registered by DemuxingProtocolHandler.registerMessageType(Class, MessageHandler)
.
session
.
ProtocolHandler.messageReceived(ProtocolSession,Object)
event.
ProtocolHandler.messageSent(ProtocolSession,Object)
event.
ProtocolSession.write(Object)
is sent out actually.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and
MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
ProtocolDecoder
which decodes binary or
protocol-specific data into message objects.
ProtocolEncoder
which encodes message
objects into binary or protocol-specific data.
MessageHandler
that does nothing.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and
MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and
MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
MessageDecoder.decodable(ProtocolSession, ByteBuffer)
and MessageDecoder.decode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput)
.
IoHandlerFilter
implementations.IoHandler
implementations.ProtocolEncoder
and ProtocolDecoder
implementations.ProtocolHandlerFilter
implementations.ProtocolHandler
implementations.org.apache.mina.io
package to support low-level I/O.ProtocolHandler
s.ProtocolEncoder
and ProtocolDecoder
which translates
binary or protocol specific data into message object and vice versa.ProtocolProvider
s.ProtocolDecoder
to generate decoded messages.ProtocolEncoder
to generate encoded ByteBuffer
s.ProtocolHandler
events like Servlet
filters.ProtocolFilter
.ProtocolHandler
.Logger
.Session
which represents high-level protocol connection between two
endpoints regardless of underlying transport types.IoFilterChain
that forwards filterWrite
requests to the specified IoSessionManagerFilterChain
.SessionManager
for Protocol layer.ProtocolFilterChain
that forwards all events
except filterWrite to the ProtocolSessionFilterChain
of the recipient session.ProtocolEncoder
cannot understand or
failed to validate the specified message, or when ProtocolDecoder
cannot understand or failed to validate the specified ByteBuffer
content.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
.
ServiceRegistry
.IoHandler.sessionClosed(IoSession)
event.
ProtocolHandler.sessionClosed(ProtocolSession)
event.
TransportType
-specific configuration.IoHandler.sessionIdle(IoSession, IdleStatus)
event.
ProtocolHandler.sessionIdle(ProtocolSession,IdleStatus)
event.
SessionLog.getLogger(Session)
, SessionLog.log(Level,Session, String)
, and
SessionLog.log(Level,Session, String, Throwable)
to log protocol-specific messages.IoHandler.sessionOpened(IoSession)
event.
ProtocolHandler.sessionOpened(ProtocolSession)
event.
SSLEngine
is initialized.
SSLEngine
is initialized.
ProtocolDecoderOutput
based on queue.ProtocolEncoderOutput
based on queue.ServiceRegistry
.size
bytes.
IoAcceptor
for socket transport (TCP/IP).IoConnector
for socket transport (TCP/IP).SessionConfig
for socket transport (TCP/IP).SSLSession
for each session.
SSLContext
.
IoHandler
that adapts asynchronous MINA events to stream I/O.address
.
address
.
DemuxingProtocolHandler
cannot find any MessageHandler
s associated with the specific
message type.ProtocolProvider
to the specified
VmPipeAddress
.SocketAddress
which represents in-VM pipe port number.ProtocolProvider
s which is bound on the specified
VmPipeAddress
.SessionConfig
for in-VM pipe transport.ByteBuffer
into MINA buffer.
buf
.
ProtocolDecoder
to generate decoded messages.
ProtocolEncoder
to generate encoded
ByteBuffer
s.
message
to remote peer.
IOException
which is thrown when write buffer is not flushed for
SessionConfig.getWriteTimeout()
seconds.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |