程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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 . |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultConnectFuture
A default implementation of
ConnectFuture . |
限定符和类型 | 方法和说明 |
---|---|
ConnectFuture |
DelegatedIoConnector.connect(java.net.SocketAddress address,
IoHandler handler) |
ConnectFuture |
BaseIoConnector.connect(java.net.SocketAddress address,
IoHandler handler) |
ConnectFuture |
DelegatedIoConnector.connect(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
DelegatedIoConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler) |
ConnectFuture |
BaseIoConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler) |
ConnectFuture |
DelegatedIoConnector.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler,
IoServiceConfig config) |
static ConnectFuture |
DefaultConnectFuture.newFailedFuture(java.lang.Throwable exception)
Returns a new
ConnectFuture which is already marked as 'failed to connect'. |
限定符和类型 | 方法和说明 |
---|---|
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) |
限定符和类型 | 方法和说明 |
---|---|
ConnectFuture |
DatagramConnectorDelegate.connect(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config) |
ConnectFuture |
DatagramConnectorDelegate.connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
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) |