ist.palcom.routing
Class SMURFNode

java.lang.Object
  extended by Link
      extended by ist.palcom.routing.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 java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

SMURFNode

public SMURFNode(URL address)
Method Detail

getNeighbours

public LinkedList getNeighbours()
Return the neighbours of this node

Returns:

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()