|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NIOSocket | |
|---|---|
| naga | The main Naga classes. |
| Uses of NIOSocket in naga |
|---|
| Methods in naga that return NIOSocket | |
|---|---|
NIOSocket |
NIOService.openSocket(java.net.InetAddress inetAddress,
int port)
Open a normal socket to the host on the given port returning a NIOSocket. |
NIOSocket |
NIOService.openSocket(java.lang.String host,
int port)
Open a normal socket to the host on the given port returning a NIOSocket. |
| Methods in naga with parameters of type NIOSocket | |
|---|---|
void |
SocketObserverAdapter.connectionBroken(NIOSocket nioSocket,
java.lang.Exception exception)
|
void |
SocketObserver.connectionBroken(NIOSocket nioSocket,
java.lang.Exception exception)
Called by the NIOService on the NIO thread when a connection is disconnected. |
void |
SocketObserverAdapter.connectionOpened(NIOSocket nioSocket)
|
void |
SocketObserver.connectionOpened(NIOSocket nioSocket)
Called by the NIOService on the NIO thread when a connection completes on a socket. |
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 |
SocketObserverAdapter.packetReceived(NIOSocket socket,
byte[] packet)
|
void |
SocketObserver.packetReceived(NIOSocket socket,
byte[] packet)
Called by the NIOService on the NIO thread when a packet is finished reading. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||