Uses of Interface
naga.NIOSocket
Packages that use NIOSocket
-
Uses of NIOSocket in naga
Modifier and TypeMethodDescriptionNIOService.openSocket
(String host, int port) Open a normal socket to the host on the given port returning a NIOSocket.NIOService.openSocket
(InetAddress inetAddress, int port) Open a normal socket to the host on the given port returning a NIOSocket.NIOService.openSSLSocket
(SSLEngine sslEngine, String host, int port) Open a socket to the host on the given port returning a NIOSocketSSL.Modifier and TypeMethodDescriptionvoid
SocketObserver.connectionBroken
(NIOSocket nioSocket, Exception exception) Called by the NIOService on the NIO thread when a connection is disconnected.void
SocketObserverAdapter.connectionBroken
(NIOSocket nioSocket, Exception exception) void
SocketObserver.connectionOpened
(NIOSocket nioSocket) Called by the NIOService on the NIO thread when a connection completes on a socket.void
SocketObserverAdapter.connectionOpened
(NIOSocket nioSocket) void
ServerSocketObserver.newConnection
(NIOSocket nioSocket) Called by the NIOService on the NIO thread when a new connection has been accepted by the socket.void
ServerSocketObserverAdapter.newConnection
(NIOSocket nioSocket) void
SocketObserver.packetReceived
(NIOSocket socket, byte[] packet) Called by the NIOService on the NIO thread when a packet is finished reading.void
SocketObserverAdapter.packetReceived
(NIOSocket socket, byte[] packet) void
SocketObserver.packetSent
(NIOSocket socket, Object tag) Called by the NIOService on the NIO thread when a packet has finished writing.void
SocketObserverAdapter.packetSent
(NIOSocket socket, Object tag) ModifierConstructorDescriptionSSLPacketHandler
(SSLEngine engine, NIOSocket socket, naga.SSLSocketChannelResponder responder) -
Uses of NIOSocket in naga.examples
Methods in naga.examples with parameters of type NIOSocket