Package | Description |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
org.apache.mina.common.support |
Internal classes used by org.apache.mina.common package.
|
org.apache.mina.handler |
Useful IoHandler implementations.
|
org.apache.mina.handler.chain |
A handler implementation that helps you implement sequentially layered protocols
using Chains of Responsibility pattern.
|
org.apache.mina.handler.demux |
A handler implementation that helps you implement complex protocols
by splitting messageReceived handlers into multiple sub-handlers.
|
org.apache.mina.handler.multiton |
Enables creating a handler per session instead of having one handler for many
sessions, using
Multiton pattern.
|
org.apache.mina.transport.socket.nio |
Socket (TCP/IP) and Datagram (UDP/IP) support based on Java
NIO (New I/O) API.
|
org.apache.mina.transport.socket.nio.support |
Internal classes used by org.apache.mina.transport.socket.nio package.
|
org.apache.mina.transport.vmpipe |
In-VM pipe support which removes the overhead of local loopback communication.
|
org.apache.mina.transport.vmpipe.support |
Internal classes used by org.apache.mina.transport.vmpipe package.
|
Modifier and Type | Class and Description |
---|---|
class |
IoHandlerAdapter
An abstract adapter class for
IoHandler . |
Modifier and Type | Method and Description |
---|---|
IoHandler |
IoSession.getHandler()
Returns the
IoHandler which handles this session. |
Modifier and Type | Method and Description |
---|---|
void |
IoAcceptor.bind(SocketAddress address,
IoHandler handler)
Binds to the specified
address and handles incoming
connections with the specified handler . |
void |
IoAcceptor.bind(SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Binds to the specified
address and handles incoming
connections with the specified handler . |
ConnectFuture |
IoConnector.connect(SocketAddress address,
IoHandler handler)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
void |
IoServiceListener.serviceActivated(IoService service,
SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Invoked when a new service is activated by an
IoService . |
void |
IoServiceListener.serviceDeactivated(IoService service,
SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Invoked when a service is deactivated by an
IoService . |
Modifier and Type | Class and Description |
---|---|
class |
StreamIoHandler
A
IoHandler that adapts asynchronous MINA events to stream I/O. |
Modifier and Type | Class and Description |
---|---|
class |
ChainedIoHandler
An
IoHandler which executes an IoHandlerChain
on a messageReceived event. |
Modifier and Type | Class and Description |
---|---|
class |
DemuxingIoHandler
|
Modifier and Type | Class and Description |
---|---|
class |
SingleSessionIoHandlerDelegate
An
IoHandler implementation which delegates all requests to
SingleSessionIoHandler s. |
Modifier and Type | Method and Description |
---|---|
void |
SocketAcceptor.bind(SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Binds to the specified
address and handles incoming connections with the specified
handler . |
ConnectFuture |
SocketConnector.connect(SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
SocketConnector.connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
DatagramAcceptorDelegate.bind(SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
DatagramConnectorDelegate.connect(SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
DatagramConnectorDelegate.connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
VmPipeAcceptor.bind(SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
VmPipeConnector.connect(SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
VmPipeConnector.connect(SocketAddress address,
SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Modifier and Type | Method and Description |
---|---|
IoHandler |
VmPipeSessionImpl.getHandler() |
IoHandler |
VmPipe.getHandler() |
Constructor and Description |
---|
VmPipe(VmPipeAcceptor acceptor,
VmPipeAddress address,
IoHandler handler,
IoServiceConfig config,
IoServiceListenerSupport listeners) |
VmPipeSessionImpl(IoService service,
IoServiceConfig serviceConfig,
IoServiceListenerSupport serviceListeners,
SocketAddress localAddress,
IoHandler handler,
VmPipe remoteEntry) |
Copyright © 2004–2017 Apache MINA Project. All rights reserved.