INET Framework for OMNeT++/OMNEST
inet::dymo::DYMORouteData Class Reference

DYMO-specific extra route data attached to routes in the routing table. More...

#include <DYMORouteData.h>

Inheritance diagram for inet::dymo::DYMORouteData:

Public Member Functions

 DYMORouteData ()
 
virtual ~DYMORouteData ()
 
bool getBroken () const
 
void setBroken (bool isBroken)
 
DYMOSequenceNumber getSequenceNumber () const
 
void setSequenceNumber (DYMOSequenceNumber sequenceNumber)
 
simtime_t getLastUsed () const
 
void setLastUsed (simtime_t lastUsed)
 
simtime_t getExpirationTime () const
 
void setExpirationTime (simtime_t expirationTime)
 
DYMOMetricType getMetricType () const
 
void setMetricType (DYMOMetricType metricType)
 

Private Attributes

bool isBroken
 
DYMOSequenceNumber sequenceNumber
 
simtime_t lastUsed
 
simtime_t expirationTime
 
DYMOMetricType metricType
 

Detailed Description

DYMO-specific extra route data attached to routes in the routing table.

Constructor & Destructor Documentation

inet::dymo::DYMORouteData::DYMORouteData ( )
27 {
28  isBroken = false;
29  sequenceNumber = 0;
30  lastUsed = 0;
31  expirationTime = 0;
33 }
DYMOMetricType metricType
Definition: DYMORouteData.h:41
Definition: DYMOdefs.h:34
bool isBroken
Definition: DYMORouteData.h:37
simtime_t lastUsed
Definition: DYMORouteData.h:39
simtime_t expirationTime
Definition: DYMORouteData.h:40
DYMOSequenceNumber sequenceNumber
Definition: DYMORouteData.h:38
virtual inet::dymo::DYMORouteData::~DYMORouteData ( )
inlinevirtual
45 {}

Member Function Documentation

bool inet::dymo::DYMORouteData::getBroken ( ) const
inline
simtime_t inet::dymo::DYMORouteData::getExpirationTime ( ) const
inline
simtime_t inet::dymo::DYMORouteData::getLastUsed ( ) const
inline
DYMOMetricType inet::dymo::DYMORouteData::getMetricType ( ) const
inline

Referenced by inet::dymo::DYMO::createRREP(), and inet::dymo::DYMO::updateRoutes().

59 { return metricType; }
DYMOMetricType metricType
Definition: DYMORouteData.h:41
DYMOSequenceNumber inet::dymo::DYMORouteData::getSequenceNumber ( ) const
inline

Referenced by inet::dymo::DYMO::processRERR(), and inet::dymo::DYMO::updateRoutes().

50 { return sequenceNumber; }
DYMOSequenceNumber sequenceNumber
Definition: DYMORouteData.h:38
void inet::dymo::DYMORouteData::setBroken ( bool  isBroken)
inline

Referenced by inet::dymo::DYMO::processRERR(), and inet::dymo::DYMO::sendRERRForBrokenLink().

48 { this->isBroken = isBroken; }
bool isBroken
Definition: DYMORouteData.h:37
void inet::dymo::DYMORouteData::setExpirationTime ( simtime_t  expirationTime)
inline
57 { this->expirationTime = expirationTime; }
simtime_t expirationTime
Definition: DYMORouteData.h:40
void inet::dymo::DYMORouteData::setLastUsed ( simtime_t  lastUsed)
inline

Referenced by inet::dymo::DYMO::ensureRouteForDatagram().

54 { this->lastUsed = lastUsed; }
simtime_t lastUsed
Definition: DYMORouteData.h:39
void inet::dymo::DYMORouteData::setMetricType ( DYMOMetricType  metricType)
inline
60 { this->metricType = metricType; }
DYMOMetricType metricType
Definition: DYMORouteData.h:41
void inet::dymo::DYMORouteData::setSequenceNumber ( DYMOSequenceNumber  sequenceNumber)
inline
51 { this->sequenceNumber = sequenceNumber; }
DYMOSequenceNumber sequenceNumber
Definition: DYMORouteData.h:38

Member Data Documentation

simtime_t inet::dymo::DYMORouteData::expirationTime
private

Referenced by DYMORouteData().

bool inet::dymo::DYMORouteData::isBroken
private

Referenced by DYMORouteData().

simtime_t inet::dymo::DYMORouteData::lastUsed
private

Referenced by DYMORouteData().

DYMOMetricType inet::dymo::DYMORouteData::metricType
private

Referenced by DYMORouteData().

DYMOSequenceNumber inet::dymo::DYMORouteData::sequenceNumber
private

Referenced by DYMORouteData().


The documentation for this class was generated from the following files: