ist.palcom.routing.util
Class DSDVBootstrap

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

public class DSDVBootstrap
extends java.lang.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, RoutingPubSubManager 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSDVBootstrap

public DSDVBootstrap(DSDVRoutingManager manager,
                     RoutingPubSubManager 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