public class UdpServer.Adapter extends java.lang.Object implements UdpServer.Listener
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 and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
void |
udpServerPacketReceived(UdpServer.Event evt)
|
void |
udpServerStateChanged(UdpServer.Event evt)
|
public void udpServerStateChanged(UdpServer.Event evt)
udpServerStateChanged
in interface UdpServer.Listener
evt
- the eventUdpServer.State
public void udpServerPacketReceived(UdpServer.Event evt)
udpServerPacketReceived
in interface UdpServer.Listener
evt
- the eventUdpServer.Event.getPacket()