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.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 | 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(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,
IoServiceConfig config)
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 |
BaseIoAcceptorConfig
A base implementation of
IoAcceptorConfig . |
class |
BaseIoConnectorConfig
A base implementation of
IoConnectorConfig . |
class |
BaseIoServiceConfig
A base implementation of
IoServiceConfig . |
Modifier and Type | Method and Description |
---|---|
IoServiceConfig |
DelegatedIoAcceptor.getDefaultConfig() |
IoServiceConfig |
DelegatedIoConnector.getDefaultConfig() |
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(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 |
---|---|
IoServiceConfig |
VmPipeAcceptor.getDefaultConfig() |
IoServiceConfig |
VmPipeConnector.getDefaultConfig() |
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 |
---|---|
IoServiceConfig |
VmPipe.getConfig() |
IoServiceConfig |
VmPipeSessionImpl.getServiceConfig() |
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–2014 Apache MINA Project. All rights reserved.