urv.olsr.data.topology
Class TopologyInformationBaseEntry

java.lang.Object
  extended by urv.olsr.data.topology.TopologyInformationBaseEntry

public class TopologyInformationBaseEntry
extends java.lang.Object

This class is the data unit to store information about the network topology (through the TC_MESSAGES) into the TopologyInformationBaseTable class

Author:
Marcel Arrufat Arias

Constructor Summary
TopologyInformationBaseEntry(OLSRNode originator, OLSRNode advertisedNode, SequenceNumber seqNum)
           
 
Method Summary
 java.lang.Object clone()
           
 OLSRNode getAdvertisedNode()
           
 OLSRNode getOriginator()
           
 SequenceNumber getSeqNum()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopologyInformationBaseEntry

public TopologyInformationBaseEntry(OLSRNode originator,
                                    OLSRNode advertisedNode,
                                    SequenceNumber seqNum)
Parameters:
originator -
advertisedNode -
seqNum -
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAdvertisedNode

public OLSRNode getAdvertisedNode()
Returns:
Returns the advertisedNode.

getOriginator

public OLSRNode getOriginator()
Returns:
Returns the originator.

getSeqNum

public SequenceNumber getSeqNum()
Returns:
Returns the seqNum.