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


CflowdPortMatrix Documentation

CflowdPortMatrix


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

Quick Index

DESCRIPTION

Class Summary

class CflowdPortMatrix : public CflowdPortMatrixMap_t

{

public:
typedef CflowdPortMatrixMap_t::iterator iterator;
typedef CflowdPortMatrixMap_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 CflowdPortMatrix & portMatrix);
protected:
}; // CflowdPortMatrix

Back to the top of CflowdPortMatrix


DESCRIPTION


---------------------------------------------------------------------------
class CflowdPortMatrix : public CflowdPortMatrixMap_t
---------------------------------------------------------------------------
This class is used to contain port matrix traffic data in cflowd++. We use a CflowdPortMatrixKey as a key, and a CflowdPortMatrixTrafficCounter 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 CflowdPortMatrix


typedef CflowdPortMatrixMap_t::iterator iterator;

No documentation available.

  typedef CflowdPortMatrixMap_t::iterator        iterator;

Back to the top of CflowdPortMatrix


typedef CflowdPortMatrixMap_t::const_iterator const_iterator;

No documentation available.

  typedef CflowdPortMatrixMap_t::const_iterator  const_iterator;

Back to the top of CflowdPortMatrix


int AddFlow(const CflowdRawFlow & flow);


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

  int AddFlow(const CflowdRawFlow & flow);

Back to the top of CflowdPortMatrix


istream & read(istream & is);


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

  istream & read(istream & is);

Back to the top of CflowdPortMatrix


int read(int fd);


-------------------------------------------------------------------------
int read(int fd)
.........................................................................
Reads the contents of a port 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 CflowdPortMatrix


ostream & write(ostream & os) const;

No documentation available.

  ostream & write(ostream & os) const;

Back to the top of CflowdPortMatrix


int write(int fd) const;

No documentation available.

  int write(int fd) const;

Back to the top of CflowdPortMatrix


friend ostream & operator << (ostream & os, const CflowdPortMatrix & portMatrix);


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

  friend ostream & operator << (ostream & os,
                                const CflowdPortMatrix & portMatrix);

Back to the top of CflowdPortMatrix


All Members

public:
typedef CflowdPortMatrixMap_t::iterator iterator;
typedef CflowdPortMatrixMap_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 CflowdPortMatrix & portMatrix);
protected:

Back to the top of CflowdPortMatrix


Ancestors

Inheritance chain for CflowdPortMatrix:

Back to the top of CflowdPortMatrix


Descendants

Class is not inherited by any others.

Back to the top of CflowdPortMatrix


Generated from source by the Cocoon utilities on Tue Sep 22 04:08:57 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.