程序包 | 说明 |
---|---|
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.jmx |
JMX (Java Management eXtension) integration.
|
org.apache.mina.management |
Utilities that manage and monitor a MINA application.
|
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.
|
限定符和类型 | 接口和说明 |
---|---|
interface |
IoAcceptor
Accepts incoming connection, communicates with clients, and fires events to
IoHandler s. |
interface |
IoConnector
Connects to endpoint, communicates with the server, and fires events to
IoHandler s. |
限定符和类型 | 方法和说明 |
---|---|
IoService |
IoSession.getService()
Returns the
IoService which provides I/O service to this session. |
限定符和类型 | 方法和说明 |
---|---|
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 . |
限定符和类型 | 类和说明 |
---|---|
class |
BaseIoAcceptor
A base implementation of
IoAcceptor . |
class |
BaseIoConnector
A base implementation of
IoConnector . |
class |
BaseIoService
Base implementation of
IoService s. |
class |
DelegatedIoAcceptor
A delegated
IoAcceptor that wraps the other IoAcceptor . |
class |
DelegatedIoConnector
A delegated
IoConnector that wraps the other IoConnector . |
限定符和类型 | 方法和说明 |
---|---|
void |
IoServiceListenerSupport.fireServiceActivated(IoService service,
java.net.SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Calls
IoServiceListener.serviceActivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners. |
void |
IoServiceListenerSupport.fireServiceDeactivated(IoService service,
java.net.SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Calls
IoServiceListener.serviceDeactivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners. |
构造器和说明 |
---|
IoServiceManager(IoService service) |
构造器和说明 |
---|
StatCollector(IoService service)
Create a stat collector for the given service with a default polling time of 5 seconds.
|
StatCollector(IoService service,
int pollingInterval)
create a stat collector for the given given service
|
限定符和类型 | 类和说明 |
---|---|
class |
DatagramAcceptor
IoAcceptor for datagram transport (UDP/IP). |
class |
DatagramConnector
IoConnector for datagram transport (UDP/IP). |
class |
SocketAcceptor
IoAcceptor for socket transport (TCP/IP). |
class |
SocketConnector
IoConnector for socket transport (TCP/IP). |
限定符和类型 | 类和说明 |
---|---|
class |
DatagramAcceptorDelegate
IoAcceptor for datagram transport (UDP/IP). |
class |
DatagramConnectorDelegate
IoConnector for datagram transport (UDP/IP). |
限定符和类型 | 类和说明 |
---|---|
class |
VmPipeAcceptor
Binds the specified
IoHandler to the specified
VmPipeAddress . |
class |
VmPipeConnector
Connects to
IoHandler s which is bound on the specified
VmPipeAddress . |
限定符和类型 | 方法和说明 |
---|---|
IoService |
VmPipeSessionImpl.getService() |
构造器和说明 |
---|
VmPipeSessionImpl(IoService service,
IoServiceConfig serviceConfig,
IoServiceListenerSupport serviceListeners,
java.net.SocketAddress localAddress,
IoHandler handler,
VmPipe remoteEntry) |