Package naga
The main Naga classes.
See 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
.
-
Interface Summary Interface Description ConnectionAcceptor The ConnectionAcceptor is used by the NIOServerSocket to determine if a connection should be accepted or refused.ExceptionObserver Implemented by observers of event exceptions.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.NIOServerSocketSSL Interface for SSL Server SocketsNIOSocket Interface for the NIOSocket, which is an asynchronous facade to an underlying Socket.NIOSocketSSL Interface for a SSL SocketPacketReader 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 Summary 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.SSLPacketHandler Undocumented Class