|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.comm.Sender
public class Sender
The class looks for outgoing messages on an Interface, packs as many as possible into a Packet and sends it over a DatagramSocket.
Constructor Summary | |
---|---|
Sender(Interface iface,
java.net.InetSocketAddress broadcast)
Constructor |
Method Summary | |
---|---|
void |
run()
Definition of the run method as required by the Runnable interface The method loops, listening for outgoing messages in the belonging Interface. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sender(Interface iface, java.net.InetSocketAddress broadcast)
iface
- the belonging Interfacebroadcast
- the broadcast SocketAddressMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
Interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |