|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectNioServer.Adapter
public static class NioServer.Adapter
A helper class that implements all methods of the
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 Summary | |
|---|---|
NioServer.Adapter()
|
|
| Method Summary | |
|---|---|
void |
connectionClosed(NioServer.Event evt)
Empty method. |
void |
newConnectionReceived(NioServer.Event evt)
Empty method. |
void |
tcpDataReceived(NioServer.Event evt)
Empty method. |
void |
tcpReadyToWrite(NioServer.Event evt)
Empty method. |
void |
udpDataReceived(NioServer.Event evt)
Empty method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NioServer.Adapter()
| Method Detail |
|---|
public void tcpDataReceived(NioServer.Event evt)
tcpDataReceived in interface NioServer.Listenerevt - the shared eventNioServer.Listenerpublic void udpDataReceived(NioServer.Event evt)
udpDataReceived in interface NioServer.Listenerevt - the shared eventNioServer.Listenerpublic void newConnectionReceived(NioServer.Event evt)
newConnectionReceived in interface NioServer.Listenerevt - the shared eventNioServer.Listenerpublic void connectionClosed(NioServer.Event evt)
connectionClosed in interface NioServer.Listenerevt - the shared eventNioServer.Listenerpublic void tcpReadyToWrite(NioServer.Event evt)
tcpReadyToWrite in interface NioServer.Listenerevt - the shared eventNioServer.Listener
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||