ArtsIpPath


[ libArts | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class ArtsIpPath : public Arts

{

public:
ArtsIpPath(ipv4addr_t src, ipv4addr_t dst);
ArtsIpPath(const ArtsIpPath & artsIpPath);
ArtsIpPath();
~ArtsIpPath();
ipv4addr_t Src() const ;
ipv4addr_t Dst() const ;
const struct timeval & Rtt() const ;
const struct timeval & Rtt(const struct timeval & rtt) ;
uint8_t HopDistance() const ;
uint8_t HopDistance(uint8_t hopDistance) ;
void AddHop(ipv4addr_t ipAddr, uint8_t hopNum) ;
protected:
}; // ArtsIpPath

Back to the top of ArtsIpPath


DESCRIPTION


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class ArtsIpPath : public Arts
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This class abstracts an ARTS IP path data object.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Back to the top of ArtsIpPath


ArtsIpPath(ipv4addr_t src, ipv4addr_t dst);


-------------------------------------------------------------------------
ArtsIpPath(ipv4addr_t src, ipv4addr_t dst)
.........................................................................
constructor accepting a source and destination IP address
-------------------------------------------------------------------------

  ArtsIpPath(ipv4addr_t src, ipv4addr_t dst);

Back to the top of ArtsIpPath


ArtsIpPath(const ArtsIpPath & artsIpPath);


-------------------------------------------------------------------------
ArtsIpPath(const ArtsIpPath & artsIpPath)
.........................................................................

-------------------------------------------------------------------------

  ArtsIpPath(const ArtsIpPath & artsIpPath);

Back to the top of ArtsIpPath


ArtsIpPath();


-------------------------------------------------------------------------
ArtsIpPath()
.........................................................................
default constructor
-------------------------------------------------------------------------

  ArtsIpPath();

Back to the top of ArtsIpPath


~ArtsIpPath();


-------------------------------------------------------------------------
~ArtsIpPath()
.........................................................................
destructor
-------------------------------------------------------------------------

  ~ArtsIpPath();

Back to the top of ArtsIpPath


ipv4addr_t Src() const ;


-------------------------------------------------------------------------
inline ipv4addr_t Src() const
.........................................................................
Returns the source address of the IP path.
-------------------------------------------------------------------------

  inline ipv4addr_t Src() const
                                              
;

Function is currently defined inline.


Back to the top of ArtsIpPath


ipv4addr_t Dst() const ;


-------------------------------------------------------------------------
inline ipv4addr_t Dst() const
.........................................................................
Returns the destinatino address of the IP path.
-------------------------------------------------------------------------

  inline ipv4addr_t Dst() const
                                              
;

Function is currently defined inline.


Back to the top of ArtsIpPath


const struct timeval & Rtt() const ;


-------------------------------------------------------------------------
inline const struct timeval & Rtt() const
.........................................................................
Returns the round-trip time from the source to the destination and back.
-------------------------------------------------------------------------

  inline const struct timeval & Rtt() const
                                              
;

Function is currently defined inline.


Back to the top of ArtsIpPath


const struct timeval & Rtt(const struct timeval & rtt) ;


-------------------------------------------------------------------------
const struct timeval & Rtt(const struct timeval & rtt)
.........................................................................
Sets and returns the round-trip time from the source to the destination and back.
-------------------------------------------------------------------------

  const struct timeval & Rtt(const struct timeval & rtt)
                                                 
;

Function is currently defined inline.


Back to the top of ArtsIpPath


uint8_t HopDistance() const ;


-------------------------------------------------------------------------
uint8_t HopDistance() const
.........................................................................
Returns the hop distance from the source to the destination.
-------------------------------------------------------------------------

  uint8_t HopDistance() const
                                                      
;

Function is currently defined inline.


Back to the top of ArtsIpPath


uint8_t HopDistance(uint8_t hopDistance) ;


-------------------------------------------------------------------------
uint8_t HopDistance(uint8_t hopDistance)
.........................................................................
Sets and returns the hop distance from the source to the destination.
-------------------------------------------------------------------------

  uint8_t HopDistance(uint8_t hopDistance)
                                                                 
;

Function is currently defined inline.


Back to the top of ArtsIpPath


void AddHop(ipv4addr_t ipAddr, uint8_t hopNum) ;


-------------------------------------------------------------------------
void AddHop(ipv4addr_t ipAddr, uint8_t hopNum)
.........................................................................
Appends a hop to the path. Assigns an IP address of ipAddr and a hop number of hopNum to the new hop. Note we *always* tack the new hop on the end of the path, and do *not* use hopNum to determine the location.
-------------------------------------------------------------------------

  void AddHop(ipv4addr_t ipAddr, uint8_t hopNum)
                                                                  
;

Function is currently defined inline.


Back to the top of ArtsIpPath


All Members

public:
void AddHostAttribute(ipv4addr_t hostAddr);
void AddCreationAttribute(uint32_t creationTime);
void AddPeriodAttribute(uint32_t startTime, uint32_t endTime);
void AddIfIndexAttribute(uint16_t ifIndex);
ArtsHeader & Header() const ;
vector<ArtsAttribute> & Attributes() const ;
ArtsIpPathData* IpPathData() const ;
ArtsAsMatrixData* AsMatrixData() const ;
ArtsNetMatrixData* NetMatrixData() const ;
ArtsPortTableData* PortTableData() const ;
ArtsSelectedPortTableData* SelectedPortTableData() const ;
ArtsPortMatrixData* PortMatrixData() const ;
ArtsProtocolTableData* ProtocolTableData() const ;
istream & read(istream & is);
int read(int fd);
ostream& write(ostream& os);
int write(int fd);
Arts & operator = (const Arts & arts);
friend ostream& operator << (ostream& os, const Arts & arts);
ipv4addr_t Src() const ;
ipv4addr_t Dst() const ;
const struct timeval & Rtt() const ;
const struct timeval & Rtt(const struct timeval & rtt) ;
uint8_t HopDistance() const ;
uint8_t HopDistance(uint8_t hopDistance) ;
void AddHop(ipv4addr_t ipAddr, uint8_t hopNum) ;
protected:
struct _data;
mutable ArtsHeader _header;
mutable vector<ArtsAttribute> _attributes;

Back to the top of ArtsIpPath


Ancestors

Inheritance chain for ArtsIpPath:

Back to the top of ArtsIpPath


Descendants

Class is not inherited by any others.

Back to the top of ArtsIpPath


Generated from source by the Cocoon utilities on Sat Oct 17 14:39:55 1998 .

Report problems to jkotula@unimax.com