ist.palcom.routing.util
Class SMURFNode

java.lang.Object
  extended by ist.palcom.collections.Link
      extended by ist.palcom.routing.util.SMURFNode

public class SMURFNode
extends Link


Constructor Summary
SMURFNode(URL address)
           
 
Method Summary
 URL getAddress()
          Return the address of this Address SMURFNode
 LinkedList getNeighbours()
          Return the neighbours of this node
 boolean isMarked()
           
 void mark()
           
 void unMark()
           
 void updateNeighbours(LinkedList neighbours)
          Merging the linkedlist neighbours into the local linked list containing known neighbours.
 
Methods inherited from class ist.palcom.collections.Link
getNext, getPrev
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMURFNode

public SMURFNode(URL address)
Method Detail

getNeighbours

public LinkedList getNeighbours()
Return the neighbours of this node

Returns:
a LinkedList of neighbours

updateNeighbours

public void updateNeighbours(LinkedList neighbours)
Merging the linkedlist neighbours into the local linked list containing known neighbours.

Parameters:
neighbours -

getAddress

public URL getAddress()
Return the address of this Address SMURFNode

Returns:
- Address

unMark

public void unMark()

mark

public void mark()

isMarked

public boolean isMarked()