org.protocol
Class SimpleUDPServerConnection
java.lang.Object
org.protocol.SimpleUDPServerConnection
public class SimpleUDPServerConnection
- extends java.lang.Object
Method Summary |
static void |
alert(java.lang.Object message)
|
java.net.InetSocketAddress |
getRemoteAddress()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
receive()
|
protected void |
received(java.net.DatagramPacket packet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleUDPServerConnection
public SimpleUDPServerConnection(java.net.DatagramPacket received_packet)
throws java.lang.Exception
- Throws:
java.lang.Exception
received
protected void received(java.net.DatagramPacket packet)
receive
public java.lang.String receive()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
alert
public static void alert(java.lang.Object message)