ist.palcom.routing
Class SMURFNode
java.lang.Object
Link
ist.palcom.routing.SMURFNode
public class SMURFNode
- extends Link
|
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. |
SMURFNode
public SMURFNode(URL address)
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()