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

Variable Index

 o portname
port to which thread sends updates
 o timer
update interval

Constructor Index

 o SendThread(int)
initializes the update interval

Method Index

 o run()
thread wakes up periodically and sends routing table updates to neighbor

Variables

 o timer
 protected int timer
update interval

 o portname
 protected String portname
port to which thread sends updates

Constructors

 o SendThread
 public SendThread(int sleepTime)
initializes the update interval

Methods

 o 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
1