|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface UdpServer.Listener
An interface for listening to events from a UdpServer
.
A single UdpServer.Event
is shared for all invocations
of these 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.Adapter
,
UdpServer.Event
Method Summary | |
---|---|
void |
udpServerPacketReceived(UdpServer.Event evt)
Called when a packet is received. |
void |
udpServerStateChanged(UdpServer.Event evt)
Called when the state of the server has changed, such as "starting" or "stopped." |
Method Detail |
---|
void udpServerStateChanged(UdpServer.Event evt)
evt
- the eventUdpServer.State
void udpServerPacketReceived(UdpServer.Event evt)
evt
- the eventUdpServer.Event.getPacket()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |