public class NioServer.Adapter extends java.lang.Object implements NioServer.Listener
NioServer.Listener
interface with empty methods.
This code is released into the Public Domain. Since this is Public Domain, you don't need to worry about licensing, and you can simply copy this NioServer.java file to your own package and use it as you like. Enjoy. Please consider leaving the following statement here in this code:
This NioServer class was copied to this project from its source as found at iHarder.net.
NioServer
,
NioServer.Listener
,
NioServer.Event
Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
void |
nioServerConnectionClosed(NioServer.Event evt)
Empty method.
|
void |
nioServerNewConnectionReceived(NioServer.Event evt)
Empty method.
|
void |
nioServerTcpDataReceived(NioServer.Event evt)
Empty method.
|
void |
nioServerUdpDataReceived(NioServer.Event evt)
Empty method.
|
public void nioServerTcpDataReceived(NioServer.Event evt)
nioServerTcpDataReceived
in interface NioServer.Listener
evt
- the shared eventNioServer.Listener
public void nioServerUdpDataReceived(NioServer.Event evt)
nioServerUdpDataReceived
in interface NioServer.Listener
evt
- the shared eventNioServer.Listener
public void nioServerNewConnectionReceived(NioServer.Event evt)
nioServerNewConnectionReceived
in interface NioServer.Listener
evt
- the shared eventNioServer.Listener
public void nioServerConnectionClosed(NioServer.Event evt)
nioServerConnectionClosed
in interface NioServer.Listener
evt
- the shared eventNioServer.Listener