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.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.
|
Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
IoService |
IoSession.getService()
Returns the
IoService which provides I/O service to this session. |
Modifier and Type | Method and Description |
---|---|
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 |
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 . |
Modifier and Type | Method and Description |
---|---|
void |
IoServiceListenerSupport.fireServiceActivated(IoService service,
SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Calls
IoServiceListener.serviceActivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners. |
void |
IoServiceListenerSupport.fireServiceDeactivated(IoService service,
SocketAddress serviceAddress,
IoHandler handler,
IoServiceConfig config)
Calls
IoServiceListener.serviceDeactivated(IoService, SocketAddress, IoHandler, IoServiceConfig)
for all registered listeners. |
Constructor and Description |
---|
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
|
Modifier and Type | Class and Description |
---|---|
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). |
Modifier and Type | Class and Description |
---|---|
class |
DatagramAcceptorDelegate
IoAcceptor for datagram transport (UDP/IP). |
class |
DatagramConnectorDelegate
IoConnector for datagram transport (UDP/IP). |
Modifier and Type | Class and Description |
---|---|
class |
VmPipeAcceptor
Binds the specified
IoHandler to the specified
VmPipeAddress . |
class |
VmPipeConnector
Connects to
IoHandler s which is bound on the specified
VmPipeAddress . |
Modifier and Type | Method and Description |
---|---|
IoService |
VmPipeSessionImpl.getService() |
Constructor and Description |
---|
VmPipeSessionImpl(IoService service,
IoServiceConfig serviceConfig,
IoServiceListenerSupport serviceListeners,
SocketAddress localAddress,
IoHandler handler,
VmPipe remoteEntry) |
Copyright © 2004–2015 Apache MINA Project. All rights reserved.