The contents of this legacy page are no longer maintained nor supported, and are made available only for historical purposes.


CflowdNetMatrix Documentation

CflowdNetMatrix


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

Quick Index

DESCRIPTION

Class Summary

class CflowdNetMatrix : public CflowdNetMatrixMap_t

{

public:
typedef CflowdNetMatrixMap_t::iterator iterator;
typedef CflowdNetMatrixMap_t::const_iterator const_iterator;
int AddFlow(const CflowdRawFlow & flow);
istream & read(istream & is);
int read(int fd);
ostream & write(ostream & os) const;
int write(int fd) const;
friend ostream & operator << (ostream& os, const CflowdNetMatrix & netMatrix);
protected:
}; // CflowdNetMatrix

Back to the top of CflowdNetMatrix


DESCRIPTION


---------------------------------------------------------------------------
class CflowdNetMatrix : public CflowdNetMatrixMap_t
---------------------------------------------------------------------------
This class is used to contain net matrix traffic data in cflowd++. We use a CflowdNetMatrixKey as a key, and a CflowdNetMatrixTrafficCounter to hold packet and byte counters. Note we just inherit from an instantiation of an STL map, then just add a few new member functions.
---------------------------------------------------------------------------

Back to the top of CflowdNetMatrix


typedef CflowdNetMatrixMap_t::iterator iterator;

No documentation available.

  typedef CflowdNetMatrixMap_t::iterator        iterator;

Back to the top of CflowdNetMatrix


typedef CflowdNetMatrixMap_t::const_iterator const_iterator;

No documentation available.

  typedef CflowdNetMatrixMap_t::const_iterator  const_iterator;

Back to the top of CflowdNetMatrix


int AddFlow(const CflowdRawFlow & flow);


-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow)
.........................................................................
Adds the data from a raw flow to the net matrix. Returns 0 on success, -1 on failure.
-------------------------------------------------------------------------

  int AddFlow(const CflowdRawFlow & flow);

Back to the top of CflowdNetMatrix


istream & read(istream & is);


-------------------------------------------------------------------------
istream & read(istream & is)
.........................................................................
Reads the contents of a net matrix from an istream. Returns the istream.
-------------------------------------------------------------------------

  istream & read(istream & is);

Back to the top of CflowdNetMatrix


int read(int fd);


-------------------------------------------------------------------------
int read(int fd)
.........................................................................
Reads the contents of a net matrix from a file descriptor. Returns the number of bytes read on success, -1 on failure.
-------------------------------------------------------------------------

  int read(int fd);

Back to the top of CflowdNetMatrix


ostream & write(ostream & os) const;


-------------------------------------------------------------------------
ostream & write(ostream & os) const
.........................................................................
Writes the contents of a net matrix to an ostream. Returns the ostream.
-------------------------------------------------------------------------

  ostream & write(ostream & os) const;

Back to the top of CflowdNetMatrix


int write(int fd) const;


-------------------------------------------------------------------------
int write(int fd) const
.........................................................................
Writes the contents of a net matrix to a file descriptor. Returns the number of bytes written on success, -1 on failure.
-------------------------------------------------------------------------

  int write(int fd) const;

Back to the top of CflowdNetMatrix


friend ostream & operator << (ostream& os, const CflowdNetMatrix & netMatrix);


-------------------------------------------------------------------------
friend ostream & operator << (ostream& os, const CflowdNetMatrix & netMatrix)
.........................................................................
Overloaded ostream '<<' operator to dump the contents of a met matrix to an ostream in a human-readable form.
-------------------------------------------------------------------------

  friend ostream & operator << (ostream& os,
                                const CflowdNetMatrix & netMatrix);

Back to the top of CflowdNetMatrix


All Members

public:
typedef CflowdNetMatrixMap_t::iterator iterator;
typedef CflowdNetMatrixMap_t::const_iterator const_iterator;
int AddFlow(const CflowdRawFlow & flow);
istream & read(istream & is);
int read(int fd);
ostream & write(ostream & os) const;
int write(int fd) const;
friend ostream & operator << (ostream& os, const CflowdNetMatrix & netMatrix);
protected:

Back to the top of CflowdNetMatrix


Ancestors

Inheritance chain for CflowdNetMatrix:

Back to the top of CflowdNetMatrix


Descendants

Class is not inherited by any others.

Back to the top of CflowdNetMatrix


Generated from source by the Cocoon utilities on Tue Sep 22 04:08:56 1998 .

Report problems to jkotula@unimax.com

Related Objects

See https://catalog.caida.org/software/cflowd/ to explore related objects to this document in the CAIDA Resource Catalog.