| Package | Description |
|---|---|
| at.chrl.nutils.network | |
| at.chrl.nutils.network.packet |
| Modifier and Type | Class and Description |
|---|---|
class |
PacketProcessor<T extends AConnection>
Packet Processor responsible for executing packets in correct order with
respecting rules: - 1 packet / client at one time. - execute packets in
received order.
|
| Modifier and Type | Method and Description |
|---|---|
AConnection |
ConnectionFactory.create(SocketChannel socket,
Dispatcher dispatcher)
Create a new
AConnection
instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Dispatcher.closeConnectionImpl(AConnection con)
Connection will be closed [onlyClose()] and onDisconnect() method will be
executed on another thread [DisconnectionThreadPool] after
getDisconnectionDelay() time in ms.
|
void |
Dispatcher.register(SelectableChannel ch,
int ops,
AConnection att)
Register new client connected to this Dispatcher and set SelectionKey
(result of registration) as this key of given AConnection.
|
| Constructor and Description |
|---|
DisconnectionTask(AConnection connection)
Construct
DisconnectionTask |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseClientPacket<T extends AConnection>
Base class for every Client Packet
|
Copyright © 2014–2015. All rights reserved.