de.bsvrz.dav.dav.main
Class RoutingTable.NodeInfo

java.lang.Object
  extended by de.bsvrz.dav.dav.main.RoutingTable.NodeInfo
Enclosing class:
RoutingTable

 class RoutingTable.NodeInfo
extends Object

Repräsentiert einen Knoten. Ist der Knoten ein Zwischenknoten, so repräsentiert diese Klasse ein Zeile. Ist der Knoten ein zielknoten, so repräsentiert diese Klasse eine Spalte.


Field Summary
(package private)  RoutingTable.NodeInfo _bestRoutingNode
           
(package private)  int _bestRoutingRow
           
(package private)  int _column
          Spalte
(package private)  RoutingConnectionInterface _directConnection
           
(package private)  long _nodeId
          Id des Knotens
(package private)  int _row
          Zeile
 
Constructor Summary
RoutingTable.NodeInfo(long nodeId)
          Erzeugt ein neues Objekt mit den gegebenen Parametern.
 
Method Summary
 RoutingTable.NodeInfo getBestRoutingNode()
           
 int getBestRoutingRow()
           
 int getColumn()
           
 RoutingConnectionInterface getDirectConnection()
           
 long getNodeId()
           
 int getRow()
           
 void setBestRoutingNode(RoutingTable.NodeInfo bestRoutingNode)
           
 void setBestRoutingRow(int bestRoutingRow)
           
 void setColumn(int column)
           
 void setDirectConnection(RoutingConnectionInterface directConnection)
           
 void setRow(int row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_nodeId

long _nodeId
Id des Knotens


_row

int _row
Zeile


_column

int _column
Spalte


_directConnection

RoutingConnectionInterface _directConnection

_bestRoutingRow

int _bestRoutingRow

_bestRoutingNode

RoutingTable.NodeInfo _bestRoutingNode
Constructor Detail

RoutingTable.NodeInfo

RoutingTable.NodeInfo(long nodeId)
Erzeugt ein neues Objekt mit den gegebenen Parametern.

Parameters:
nodeId - Id des Knotens
Method Detail

getNodeId

public long getNodeId()

getRow

public int getRow()

setRow

public void setRow(int row)

getColumn

public int getColumn()

setColumn

public void setColumn(int column)

getBestRoutingNode

public RoutingTable.NodeInfo getBestRoutingNode()

setBestRoutingNode

public void setBestRoutingNode(RoutingTable.NodeInfo bestRoutingNode)

getBestRoutingRow

public int getBestRoutingRow()

setBestRoutingRow

public void setBestRoutingRow(int bestRoutingRow)

getDirectConnection

public RoutingConnectionInterface getDirectConnection()

setDirectConnection

public void setDirectConnection(RoutingConnectionInterface directConnection)