ArtsAsMatrix


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

Quick Index

DESCRIPTION

Class Summary

class ArtsAsMatrix : public Arts

{

public:
ArtsAsMatrix();
~ArtsAsMatrix();
uint16_t SampleInterval() const ;
uint16_t SampleInterval(uint16_t sampleInterval) ;
uint32_t Count() const ;
uint32_t Count(uint32_t count) ;
uint64_t TotalPkts() const ;
uint64_t TotalPkts(uint64_t totalPkts) ;
uint64_t TotalBytes() const ;
uint64_t TotalBytes(uint64_t totalBytes) ;
vector<ArtsAsMatrixEntry> & AsEntries() const ;
protected:
}; // ArtsAsMatrix

Back to the top of ArtsAsMatrix


DESCRIPTION


---------------------------------------------------------------------------
class ArtsAsMatrix : public Arts
---------------------------------------------------------------------------

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

Back to the top of ArtsAsMatrix


ArtsAsMatrix();


-------------------------------------------------------------------------
ArtsAsMatrix()
.........................................................................
constructor
-------------------------------------------------------------------------

  ArtsAsMatrix();

Back to the top of ArtsAsMatrix


~ArtsAsMatrix();


-------------------------------------------------------------------------
~ArtsAsMatrix()
.........................................................................
destructor
-------------------------------------------------------------------------

  ~ArtsAsMatrix();

Back to the top of ArtsAsMatrix


uint16_t SampleInterval() const ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval() const
.........................................................................
Returns the sampling ratio if the AS matrix was built using packet sampling techniques. Normally this value is 1, meaning we're working with complete data sets (for example, from Cisco flow-export).
-------------------------------------------------------------------------

  inline uint16_t SampleInterval() const
                                                           
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint16_t SampleInterval(uint16_t sampleInterval) ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval(uint16_t sampleInterval)
.........................................................................
Sets and returns the sampling ratio if the AS matrix was built using packet sampling techniques. Normally this value is 1, meaning we're working with complete data sets (for example, from Cisco flow-export).
-------------------------------------------------------------------------

  inline uint16_t SampleInterval(uint16_t sampleInterval)
                                                                         
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint32_t Count() const ;


-------------------------------------------------------------------------
inline uint32_t Count() const
.........................................................................
Returns the number of AS matrix entries (cells) in an ArtsAsMatrix object.
-------------------------------------------------------------------------

  inline uint32_t Count() const
                                                  
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint32_t Count(uint32_t count) ;


-------------------------------------------------------------------------
inline uint32_t Count(uint32_t count)
.........................................................................
Sets and Returns the number of AS matrix entries (cells) in an ArtsAsMatrix object.
-------------------------------------------------------------------------

  inline uint32_t Count(uint32_t count)
                                                       
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint64_t TotalPkts() const ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts() const
.........................................................................
Returns the total packets of traffic in the ArtsAsMatrix object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalPkts() const
                                                      
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint64_t TotalPkts(uint64_t totalPkts) ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts(uint64_t totalPkts)
.........................................................................
Sets and returns the total packets of traffic in the ArtsAsMatrixData object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalPkts(uint64_t totalPkts)
                                                               
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint64_t TotalBytes() const ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes() const
.........................................................................
Returns the total bytes of traffic in the ArtsAsMatrix object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalBytes() const
                                                       
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


uint64_t TotalBytes(uint64_t totalBytes) ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes(uint64_t totalBytes)
.........................................................................
Sets and returns the total bytes of traffic in the ArtsAsMatrix object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalBytes(uint64_t totalBytes)
                                                                 
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


vector<ArtsAsMatrixEntry> & AsEntries() const ;


-------------------------------------------------------------------------
inline vector<ArtsAsMatrixEntry> & AsEntries() const
.........................................................................
Return a reference to the vector of ArtsAsMatrixEntry objects. Note that even though this member may be called from a const object, the returned reference is not const; the vector is mutable.
-------------------------------------------------------------------------

  inline vector<ArtsAsMatrixEntry> & AsEntries() const
                                                      
;

Function is currently defined inline.


Back to the top of ArtsAsMatrix


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);
uint16_t SampleInterval() const ;
uint16_t SampleInterval(uint16_t sampleInterval) ;
uint32_t Count() const ;
uint32_t Count(uint32_t count) ;
uint64_t TotalPkts() const ;
uint64_t TotalPkts(uint64_t totalPkts) ;
uint64_t TotalBytes() const ;
uint64_t TotalBytes(uint64_t totalBytes) ;
vector<ArtsAsMatrixEntry> & AsEntries() const ;
protected:
struct _data;
mutable ArtsHeader _header;
mutable vector<ArtsAttribute> _attributes;

Back to the top of ArtsAsMatrix


Ancestors

Inheritance chain for ArtsAsMatrix:

Back to the top of ArtsAsMatrix


Descendants

Class is not inherited by any others.

Back to the top of ArtsAsMatrix


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

Report problems to jkotula@unimax.com