[ libArts | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of ArtsPortMatrixData
Back to the top of ArtsPortMatrixData
ArtsPortMatrixData() ;
-------------------------------------------------------------------------
inline ArtsPortMatrixData() .........................................................................
constructor
-------------------------------------------------------------------------
inline ArtsPortMatrixData() ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
uint16_t SampleInterval() const ;
-------------------------------------------------------------------------
inline uint16_t SampleInterval() const .........................................................................
Returns the sampling ratio if the port 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 ArtsPortMatrixData
uint16_t SampleInterval(uint16_t sampleInterval) ;
-------------------------------------------------------------------------
inline uint16_t SampleInterval(uint16_t sampleInterval) .........................................................................
Sets and returns the sampling ratio if the port 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 ArtsPortMatrixData
uint32_t Count() const ;
-------------------------------------------------------------------------
inline uint32_t Count() const .........................................................................
Returns the number of port matrix entries (cells) in an ArtsPortMatrixData object.
-------------------------------------------------------------------------
inline uint32_t Count() const ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
uint32_t Count(uint32_t count) ;
-------------------------------------------------------------------------
inline uint32_t Count(uint32_t count) .........................................................................
Sets and Returns the number of port matrix entries (cells) in an ArtsPortMatrixData object.
-------------------------------------------------------------------------
inline uint32_t Count(uint32_t count) ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
uint64_t TotalPkts() const ;
-------------------------------------------------------------------------
inline uint64_t TotalPkts() const .........................................................................
Returns the total packets of traffic in the ArtsPortMatrixData 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 ArtsPortMatrixData
uint64_t TotalPkts(uint64_t totalPkts) ;
-------------------------------------------------------------------------
inline uint64_t TotalPkts(uint64_t totalPkts) .........................................................................
Sets and returns the total packets of traffic in the ArtsPortMatrixData 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 ArtsPortMatrixData
uint64_t TotalBytes() const ;
-------------------------------------------------------------------------
inline uint64_t TotalBytes() const .........................................................................
Returns the total bytes of traffic in the ArtsPortMatrixData 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 ArtsPortMatrixData
uint64_t TotalBytes(uint64_t totalBytes) ;
-------------------------------------------------------------------------
inline uint64_t TotalBytes(uint64_t totalBytes) .........................................................................
Sets and returns the total bytes of traffic in the ArtsPortMatrixData 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 ArtsPortMatrixData
uint64_t Orphans() const ;
-------------------------------------------------------------------------
inline uint64_t Orphans() const .........................................................................
-------------------------------------------------------------------------
inline uint64_t Orphans() const ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
uint64_t Orphans(uint64_t orphans) ;
-------------------------------------------------------------------------
inline uint64_t Orphans(uint64_t orphans) .........................................................................
-------------------------------------------------------------------------
inline uint64_t Orphans(uint64_t orphans) ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
vector<ArtsPortMatrixEntry> & PortEntries() const ;
-------------------------------------------------------------------------
inline vector<ArtsPortMatrixEntry> & PortEntries() const .........................................................................
Return a reference to the vector of ArtsPortMatrixEntry 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<ArtsPortMatrixEntry> & PortEntries() const ;
Function is currently defined inline.
Back to the top of ArtsPortMatrixData
uint32_t Length(uint8_t version ) const;
-------------------------------------------------------------------------
uint32_t Length(uint8_t version = 0) const .........................................................................
Returns the length required to store the ArtsPortMatrixData object on disk.
-------------------------------------------------------------------------
uint32_t Length(uint8_t version = 0) const;
Back to the top of ArtsPortMatrixData
istream& read(istream& is, uint8_t version );
-------------------------------------------------------------------------
istream& read(istream& is, uint8_t version = 0) .........................................................................
Reads an ArtsPortMatrixData object from an istream. Returns the istream.
-------------------------------------------------------------------------
istream& read(istream& is, uint8_t version = 0);
Back to the top of ArtsPortMatrixData
int read(int fd, uint8_t version );
-------------------------------------------------------------------------
int read(int fd, uint8_t version = 0) .........................................................................
Reads an ArtsPortMatrixData object from a file descriptor. Returns the number of bytes read if successful, -1 on failure.
-------------------------------------------------------------------------
int read(int fd, uint8_t version = 0);
Back to the top of ArtsPortMatrixData
ostream& write(ostream& os, uint8_t version );
-------------------------------------------------------------------------
ostream& write(ostream& os, uint8_t version = 0) .........................................................................
Writes an ArtsPortMatrixData object to an ostream. Returns the ostream.
-------------------------------------------------------------------------
ostream& write(ostream& os, uint8_t version = 0);
Back to the top of ArtsPortMatrixData
int write(int fd, uint8_t version );
-------------------------------------------------------------------------
int write(int fd, uint8_t version = 0) .........................................................................
Writes an ArtsPortMatrixData object to a file descriptor. Returns the number of bytes written on success, -1 on failure.
-------------------------------------------------------------------------
int write(int fd, uint8_t version = 0);
Back to the top of ArtsPortMatrixData
friend ostream& operator << (ostream& os, const ArtsPortMatrixData & artsPortMatrixData);
-------------------------------------------------------------------------
ostream& operator << (ostream& os, const ArtsPortMatrixData & artsPortMatrixData) .........................................................................
Overloaded '<<' operator. Dumps the contents of an ArtsPortMatrixData object to an ostream in a human-readable form. Returns the ostream.
-------------------------------------------------------------------------
friend ostream& operator << (ostream& os, const ArtsPortMatrixData & artsPortMatrixData);
Back to the top of ArtsPortMatrixData
void SortEntriesByBytes();
-------------------------------------------------------------------------
void SortEntriesByBytes() .........................................................................
Sorts the port matrix entries in desending order by byte count (the entry with the most traffic in bytes will become the first entry). Note this uses the ArtsPortMatrixEntryGreaterBytes function object defined in ArtsPortMatrixEntry.hh
-------------------------------------------------------------------------
void SortEntriesByBytes();
Back to the top of ArtsPortMatrixData
void SortEntriesByPkts();
-------------------------------------------------------------------------
void SortEntriesByPkts() .........................................................................
Sorts the port matrix entries in descending order by packet count (the entry with the most traffic in packets will become the first entry). Note this uses the ArtsPortMatrixEntryGreaterPkts function object defined in ArtsPortMatrixEntry.hh
-------------------------------------------------------------------------
void SortEntriesByPkts();
Back to the top of ArtsPortMatrixData
Back to the top of ArtsPortMatrixData
Back to the top of ArtsPortMatrixData
Back to the top of ArtsPortMatrixData
Report problems to jkotula@unimax.com