ArtsNetMatrix


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

Quick Index

DESCRIPTION

Class Summary

class ArtsNetMatrix : public Arts

{

public:
ArtsNetMatrix();
~ArtsNetMatrix();
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<ArtsNetMatrixEntry> & NetEntries() const ;
protected:
}; // ArtsNetMatrix

Back to the top of ArtsNetMatrix


DESCRIPTION


---------------------------------------------------------------------------
class ArtsNetMatrix : public Arts
---------------------------------------------------------------------------
This class abstracts net matrix data. Net matrix data contains packet and byte counters for traffic sent from a source network/mask to a destination network/mask.
---------------------------------------------------------------------------

Back to the top of ArtsNetMatrix


ArtsNetMatrix();


-------------------------------------------------------------------------
ArtsNetMatrix()
.........................................................................
constructor
-------------------------------------------------------------------------

  ArtsNetMatrix();

Back to the top of ArtsNetMatrix


~ArtsNetMatrix();


-------------------------------------------------------------------------
~ArtsNetMatrix()
.........................................................................
destructor
-------------------------------------------------------------------------

  ~ArtsNetMatrix();

Back to the top of ArtsNetMatrix


uint16_t SampleInterval() const ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval() const
.........................................................................
Returns the sampling ratio if the net 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 ArtsNetMatrix


uint16_t SampleInterval(uint16_t sampleInterval) ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval(uint16_t sampleInterval)
.........................................................................
Sets and returns the sampling ratio if the net 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 ArtsNetMatrix


uint32_t Count() const ;


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

  inline uint32_t Count() const
                                                   
;

Function is currently defined inline.


Back to the top of ArtsNetMatrix


uint32_t Count(uint32_t count) ;


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

  inline uint32_t Count(uint32_t count)
                                                        
;

Function is currently defined inline.


Back to the top of ArtsNetMatrix


uint64_t TotalPkts() const ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts() const
.........................................................................
Returns the total packets of traffic in the ArtsNetMatrix 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 ArtsNetMatrix


uint64_t TotalPkts(uint64_t totalPkts) ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts(uint64_t totalPkts)
.........................................................................
Sets and returns the total packets of traffic in the ArtsNetMatrixData 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 ArtsNetMatrix


uint64_t TotalBytes() const ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes() const
.........................................................................
Returns the total bytes of traffic in the ArtsNetMatrix 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 ArtsNetMatrix


uint64_t TotalBytes(uint64_t totalBytes) ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes(uint64_t totalBytes)
.........................................................................
Sets and returns the total bytes of traffic in the ArtsNetMatrix 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 ArtsNetMatrix


vector<ArtsNetMatrixEntry> & NetEntries() const ;


-------------------------------------------------------------------------
inline vector<ArtsNetMatrixEntry> & NetEntries() const
.........................................................................
Return a reference to the vector of ArtsNetMatrixEntry 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<ArtsNetMatrixEntry> & NetEntries() const
                                                        
;

Function is currently defined inline.


Back to the top of ArtsNetMatrix


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<ArtsNetMatrixEntry> & NetEntries() const ;
protected:
struct _data;
mutable ArtsHeader _header;
mutable vector<ArtsAttribute> _attributes;

Back to the top of ArtsNetMatrix


Ancestors

Inheritance chain for ArtsNetMatrix:

Back to the top of ArtsNetMatrix


Descendants

Class is not inherited by any others.

Back to the top of ArtsNetMatrix


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

Report problems to jkotula@unimax.com