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.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 | Interface and Description |
---|---|
interface |
IoAcceptorConfig
A configuration which is used to configure
IoAcceptor . |
interface |
IoConnectorConfig
A configuration which is used to configure
IoConnector . |
Modifier and Type | Method and Description |
---|---|
IoServiceConfig |
IoService.getDefaultConfig()
Returns the default configuration which is used when you didn't specify
any configuration.
|
IoServiceConfig |
IoSession.getServiceConfig()
Returns the
IoServiceConfig of this session. |
Modifier and Type | Method and Description |
---|---|
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,
IoServiceConfig config)
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 |
org.apache.mina.common.support.BaseIoAcceptorConfig
A base implementation of
IoAcceptorConfig . |
class |
org.apache.mina.common.support.BaseIoConnectorConfig
A base implementation of
IoConnectorConfig . |
class |
org.apache.mina.common.support.BaseIoServiceConfig
A base implementation of
IoServiceConfig . |
Modifier and Type | Method and Description |
---|---|
IoServiceConfig |
Binding.getServiceConfig() |
Modifier and Type | Method and Description |
---|---|
void |
Binding.setServiceConfig(IoServiceConfig serviceConfig) |
Constructor and Description |
---|
Binding(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig serviceConfig)
Creates a new instance using the specified values.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DatagramServiceConfig
|
Modifier and Type | Class and Description |
---|---|
class |
DatagramAcceptorConfig
An
IoAcceptorConfig for DatagramAcceptor . |
class |
DatagramConnectorConfig
An
IoConnectorConfig for DatagramConnector . |
class |
SocketAcceptorConfig
An
IoAcceptorConfig for SocketAcceptor . |
class |
SocketConnectorConfig
An
IoConnectorConfig for SocketConnector . |
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 |
---|---|
IoServiceConfig |
VmPipeConnector.getDefaultConfig() |
IoServiceConfig |
VmPipeAcceptor.getDefaultConfig() |
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.