Package | Description |
---|---|
org.apache.mina.transport.nio |
Transport implementations base on NIO (New I/O),
Channel |
Modifier and Type | Class and Description |
---|---|
class |
NioSelectorLoop
This class holds a Selector and handle all the incoming events for the sessions registered on this selector.ALl the
events will be processed by some dedicated thread, taken from a pool.
|
Modifier and Type | Method and Description |
---|---|
SelectorLoop |
SelectorLoopPool.getSelectorLoop()
Get a
SelectorLoop from the pool |
SelectorLoop |
FixedSelectorLoopPool.getSelectorLoop()
Get a
SelectorLoop from the pool |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNioSession.processWrite(SelectorLoop selectorLoop)
Process a write operation.
|
Constructor and Description |
---|
NioTcpClient(SelectorLoop connectSelectorLoop,
SelectorLoopPool readWriteSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create a TCP client with provided selector loops pool
|
NioTcpServer(SelectorLoop acceptSelectorLoop,
SelectorLoopPool readWriteSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create a TCP server with provided selector loops pool
|
NioTcpServer(TcpSessionConfig config,
SelectorLoop acceptSelectorLoop,
SelectorLoopPool readWriteSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create a TCP server with provided selector loops pool
|
NioUdpServer(SelectorLoop readSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create an UDP server with provided selector loops pool
|
NioUdpServer(UdpSessionConfig config,
SelectorLoop readSelectorLoop,
IoHandlerExecutor handlerExecutor)
Create an UDP server with provided selector loops pool
|
Copyright © 2009–2013 Apache MINA Project. All rights reserved.