Package | Description |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
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.integration.spring |
SpringFramework-specific classes
for integration
|
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.vmpipe |
In-VM pipe support which removes the overhead of local loopback communication.
|
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(java.net.SocketAddress address,
IoHandler handler)
Binds to the specified
address and handles incoming
connections with the specified handler . |
void |
IoAcceptor.bind(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Binds to the specified
address and handles incoming
connections with the specified handler . |
ConnectFuture |
IoConnector.connect(java.net.SocketAddress address,
IoHandler handler)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler)
Connects to the specified
address . |
ConnectFuture |
IoConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config)
Connects to the specified
address . |
void |
IoServiceListener.serviceActivated(IoService service,
java.net.SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Invoked when a new service is activated by an
IoService . |
void |
IoServiceListener.serviceDeactivated(IoService service,
java.net.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 |
---|---|
IoHandler |
Binding.getHandler()
Returns the handler of this binding object.
|
Modifier and Type | Method and Description |
---|---|
void |
Binding.setHandler(IoHandler handler)
Sets the handler of this binding object.
|
Constructor and Description |
---|
Binding(java.net.SocketAddress address,
IoHandler handler)
Creates a new instance using the specified values.
|
Binding(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig serviceConfig)
Creates a new instance using the specified values.
|
Modifier and Type | Method and Description |
---|---|
void |
SocketAcceptor.bind(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Binds to the specified
address and handles incoming connections with the specified
handler . |
ConnectFuture |
SocketConnector.connect(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
SocketConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
VmPipeAcceptor.bind(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
VmPipeConnector.connect(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
VmPipeConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.