|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.comm.Receiver
public class Receiver
The class listens on an Interface's DatagramSocket for incoming packets. The packets are received, parsed and put in the queue for parsed packets on the Interface.
Constructor Summary | |
---|---|
Receiver(Interface iface)
Constructor |
Method Summary | |
---|---|
void |
halt()
|
void |
run()
Definition of the run method as required by the Runnable interface The method creates a loop listening for packet, trying to parse them as they arrive. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Receiver(Interface iface)
iface
- the belonging InterfaceMethod Detail |
---|
public void halt()
public void run()
run
in interface java.lang.Runnable
PacketParser
,
Interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |