CflowdInterfaceMatrix
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdInterfaceMatrix : public CflowdInterfaceMatrixMap_t{
public:
- typedef CflowdInterfaceMatrixMap_t::iterator iterator;
- typedef CflowdInterfaceMatrixMap_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;
- typedef CflowdInterfaceMatrixMap_t::const_iterator const_iterator;
Back to the top of CflowdInterfaceMatrix
DESCRIPTION
---------------------------------------------------------------------------
class CflowdInterfaceMatrix : public CflowdInterfaceMatrixMap_t
---------------------------------------------------------------------------
This class is used to contain interface matrix traffic data in cflowd++. We use a CflowdInterfaceMatrixKey as a key, and a CflowdInterfaceMatrixTrafficCounter 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 CflowdInterfaceMatrix
typedef CflowdInterfaceMatrixMap_t::iterator iterator;
No documentation available.
typedef CflowdInterfaceMatrixMap_t::iterator iterator;
Back to the top of CflowdInterfaceMatrix
typedef CflowdInterfaceMatrixMap_t::const_iterator const_iterator;
No documentation available.
typedef CflowdInterfaceMatrixMap_t::const_iterator const_iterator;
Back to the top of CflowdInterfaceMatrix
int AddFlow(const CflowdRawFlow & flow);
-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow) .........................................................................
Adds the data from a raw flow to the interface matrix. Returns 0 on success, -1 on failure (for example, the flow doesn't contain the information needed).
-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow);
Back to the top of CflowdInterfaceMatrix
istream & read(istream & is);
-------------------------------------------------------------------------
istream & read(istream & is) .........................................................................
Reads the contents of an interface matrix from an istream. Returns the istream.
-------------------------------------------------------------------------
istream & read(istream & is);
Back to the top of CflowdInterfaceMatrix
int read(int fd);
-------------------------------------------------------------------------
int read(int fd) .........................................................................
Reads the contents of an interface 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 CflowdInterfaceMatrix
ostream & write(ostream & os) const;
-------------------------------------------------------------------------
ostream & write(ostream & os) const .........................................................................
Writes the contents of an interface matrix to an ostream. Returns the ostream.
-------------------------------------------------------------------------
ostream & write(ostream & os) const;
Back to the top of CflowdInterfaceMatrix
int write(int fd) const;
-------------------------------------------------------------------------
int write(int fd) const .........................................................................
Writes the contents of an interface 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 CflowdInterfaceMatrix
All Members
- public:
- typedef CflowdInterfaceMatrixMap_t::iterator iterator;
- typedef CflowdInterfaceMatrixMap_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;
- typedef CflowdInterfaceMatrixMap_t::const_iterator const_iterator;
- protected:
Back to the top of CflowdInterfaceMatrix
Ancestors
Inheritance chain for CflowdInterfaceMatrix:
Back to the top of CflowdInterfaceMatrix
Descendants
Class is not inherited by any others.
Back to the top of CflowdInterfaceMatrix
Generated from source by the Cocoon utilities on Tue Sep 22 04:08:54 1998 .
Report problems to jkotula@unimax.com