ist.palcom.routing
Class DSDVBootstrap

java.lang.Object
  extended by ist.palcom.routing.DSDVBootstrap

public class DSDVBootstrap
extends Object

DSDVBoostrap is used to bootstrap the DSDVRoutingManager on a network. When a new peer with a DSDVRoutingManager arrives to the network, it publish it's RoutingURN to all the listeners.


Constructor Summary
DSDVBootstrap(DSDVRoutingManager manager, PubSubManager pubsub)
          TODO: Use multicast directly - not the PubSubManager
 
Method Summary
 PalcomPriorityThread startListening()
          Subscribe on the topic topic where new arrivals publish their RoutingURL.
 PalcomPriorityThread startPublish()
          Publish bootstrap messages until first message is received (RASCAL issue)
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

DSDVBootstrap

public DSDVBootstrap(DSDVRoutingManager manager,
                     PubSubManager pubsub)
TODO: Use multicast directly - not the PubSubManager

Method Detail

startPublish

public PalcomPriorityThread startPublish()
Publish bootstrap messages until first message is received (RASCAL issue)

Returns:
PalcomPriorityThread

startListening

public PalcomPriorityThread startListening()
Subscribe on the topic topic where new arrivals publish their RoutingURL.

Returns:
PalcomPriorityThread