Uses of Interface
naga.NIOSocket
-
Packages that use NIOSocket Package Description naga The main Naga classes.naga.examples Various examples on how to use Naga. -
-
Uses of NIOSocket in naga
Subinterfaces of NIOSocket in naga Modifier and Type Interface Description interfaceNIOSocketSSLInterface for a SSL SocketMethods in naga that return NIOSocket Modifier and Type Method Description NIOSocketNIOService. openSocket(java.lang.String host, int port)Open a normal socket to the host on the given port returning a NIOSocket.NIOSocketNIOService. openSocket(java.net.InetAddress inetAddress, int port)Open a normal socket to the host on the given port returning a NIOSocket.NIOSocketNIOService. openSSLSocket(javax.net.ssl.SSLEngine sslEngine, java.lang.String host, int port)Open a socket to the host on the given port returning a NIOSocketSSL.Methods in naga with parameters of type NIOSocket Modifier and Type Method Description voidSocketObserver. connectionBroken(NIOSocket nioSocket, java.lang.Exception exception)Called by the NIOService on the NIO thread when a connection is disconnected.voidSocketObserverAdapter. connectionBroken(NIOSocket nioSocket, java.lang.Exception exception)voidSocketObserver. connectionOpened(NIOSocket nioSocket)Called by the NIOService on the NIO thread when a connection completes on a socket.voidSocketObserverAdapter. connectionOpened(NIOSocket nioSocket)voidServerSocketObserver. newConnection(NIOSocket nioSocket)Called by the NIOService on the NIO thread when a new connection has been accepted by the socket.voidServerSocketObserverAdapter. newConnection(NIOSocket nioSocket)voidSocketObserver. packetReceived(NIOSocket socket, byte[] packet)Called by the NIOService on the NIO thread when a packet is finished reading.voidSocketObserverAdapter. packetReceived(NIOSocket socket, byte[] packet)voidSocketObserver. packetSent(NIOSocket socket, java.lang.Object tag)Called by the NIOService on the NIO thread when a packet has finished writing.voidSocketObserverAdapter. packetSent(NIOSocket socket, java.lang.Object tag)Constructors in naga with parameters of type NIOSocket Constructor Description SSLPacketHandler(javax.net.ssl.SSLEngine engine, NIOSocket socket, naga.SSLSocketChannelResponder responder) -
Uses of NIOSocket in naga.examples
Methods in naga.examples with parameters of type NIOSocket Modifier and Type Method Description voidChatServer. newConnection(NIOSocket nioSocket)
-