Interface | Description |
---|---|
ConnectionAcceptor |
The ConnectionAcceptor is used by the NIOServerSocket to determine
if a connection should be accepted or refused.
|
NIOAbstractSocket |
An interface describing methods common to both NIOSocket and NIOServerSocket.
|
NIOServerSocket |
Interface for the NIOServerSocket, which is
an asynchronous facade to an underlying ServerSocket.
|
NIOSocket |
Interface for the NIOSocket, which is
an asynchronous facade to an underlying Socket.
|
PacketReader |
Interface for packet reader plugins to assist a socket in reading.
|
PacketWriter |
Interface for classes implementing packet writing strategies.
|
ServerSocketObserver |
Implemented by an observer to a server socket.
|
SocketObserver |
This interface contains the callbacks used by a NIOSocket
to inform its observer of events.
|
Class | Description |
---|---|
NIOService |
This class forms the basis of the NIO handling in Naga.
|
NIOUtils |
A collection of utilites used by various classes.
|
ServerSocketObserverAdapter |
Class with null-implementations for all callbacks.
|
SocketObserverAdapter |
Class with null-implementation of all SocketObserver callbacks.
|
NIOService
on how to start a new NIOService for asynchronous
socket I/O.
The library uses the implementations of NIOSocket
and NIOServerSocket
as asynchronous counterparts to Socket
and ServerSocket
.