Package | Description |
---|---|
org.apache.mina.transport.bio |
Transport implementation base on blocking I/O
Socket |
org.apache.mina.transport.nio |
Transport implementations base on NIO (New I/O),
Channel |
org.apache.mina.transport.udp |
Shared plumber UDP transport implementations.
|
Constructor and Description |
---|
BioUdpServer(UdpSessionConfig config,
IoHandlerExecutor executor) |
Modifier and Type | Method and Description |
---|---|
UdpSessionConfig |
NioUdpSession.getConfig()
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
|
Constructor and Description |
---|
NioUdpServer(UdpSessionConfig config)
Create an UDP server with a new selector pool of default size and a
IoHandlerExecutor of default type (
OrderedHandlerExecutor ) |
NioUdpServer(UdpSessionConfig config,
SelectorLoop readSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create an UDP server with provided selector loops pool
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultUdpSessionConfig
Implementation for the UDP session configuration.
|
Modifier and Type | Method and Description |
---|---|
UdpSessionConfig |
AbstractUdpServer.getSessionConfig()
Returns the default configuration of the new
IoSession s created by this service. |
UdpSessionConfig |
AbstractUdpClient.getSessionConfig()
Returns the default configuration of the new
IoSession s created by this service. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUdpServer.setSessionConfig(UdpSessionConfig config) |
Constructor and Description |
---|
AbstractUdpServer(UdpSessionConfig config,
IoHandlerExecutor ioHandlerExecutor)
Create an new AbsractUdpServer instance
|
Copyright © 2009–2013 Apache MINA Project. All rights reserved.