All Packages Class Hierarchy This Package Previous Next Index
Class magician.Node.SendThread
java.lang.Object
|
+----java.lang.Thread
|
+----magician.Node.SendThread
- public class SendThread
- extends Thread
This class is part of the RIPRouting protocol. It is responsible for
sending periodic updates to the neighbors.
- See Also:
- RIPRouting
-
portname
- port to which thread sends updates
-
timer
- update interval
-
SendThread(int)
- initializes the update interval
-
run()
- thread wakes up periodically and sends routing table updates to
neighbor
timer
protected int timer
- update interval
portname
protected String portname
- port to which thread sends updates
SendThread
public SendThread(int sleepTime)
- initializes the update interval
run
public void run()
- thread wakes up periodically and sends routing table updates to
neighbor
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index