|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.disutil.UdpServer.Adapter
public class UdpServer.Adapter
A helper class that implements all methods of the
UdpServer.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 UdpServer.java file to your own package and use it as you like. Enjoy. Please consider leaving the following statement here in this code:
This UdpServer class was copied to this project from its source as found at iHarder.net.
UdpServer
,
UdpServer.Listener
,
UdpServer.Event
Constructor Summary | |
---|---|
UdpServer.Adapter()
|
Method Summary | |
---|---|
void |
udpServerPacketReceived(UdpServer.Event evt)
Empty call for UdpServer.Listener.udpServerPacketReceived(edu.nps.moves.disutil.UdpServer.Event) . |
void |
udpServerStateChanged(UdpServer.Event evt)
Empty call for UdpServer.Listener.udpServerStateChanged(edu.nps.moves.disutil.UdpServer.Event) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UdpServer.Adapter()
Method Detail |
---|
public void udpServerStateChanged(UdpServer.Event evt)
UdpServer.Listener.udpServerStateChanged(edu.nps.moves.disutil.UdpServer.Event)
.
udpServerStateChanged
in interface UdpServer.Listener
evt
- the eventUdpServer.State
public void udpServerPacketReceived(UdpServer.Event evt)
UdpServer.Listener.udpServerPacketReceived(edu.nps.moves.disutil.UdpServer.Event)
.
udpServerPacketReceived
in interface UdpServer.Listener
evt
- the eventUdpServer.Event.getPacket()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |