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


CflowdFlowPortList Documentation

CflowdFlowPortList


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

Quick Index

DESCRIPTION

Class Summary

class CflowdFlowPortList : public _CflowdFlowPortList_t

{

public:
void CloseAll();
int OpenAll();
void Clear();
fd_set & FdSet();
int MaxFd() const;
protected:
}; // CflowdFlowPortList

Back to the top of CflowdFlowPortList


DESCRIPTION


---------------------------------------------------------------------------
class CflowdFlowPortList : public _CflowdFlowPortList_t
---------------------------------------------------------------------------
This class is used to hold all of the CflowdFlowPort objects in cflowdmux. We just inherit from an STL list of CflowdFlowPort objects and add a few things.
---------------------------------------------------------------------------

Back to the top of CflowdFlowPortList


void CloseAll();


-------------------------------------------------------------------------
void CloseAll()
.........................................................................
Closes all of the sockets in the port list.
-------------------------------------------------------------------------

  void CloseAll();

Back to the top of CflowdFlowPortList


int OpenAll();


-------------------------------------------------------------------------
int OpenAll()
.........................................................................
Opens all of the sockets in the port list. Returns -1 on any error, the total number of ports on success.
-------------------------------------------------------------------------

  int OpenAll();

Back to the top of CflowdFlowPortList


void Clear();


-------------------------------------------------------------------------
void Clear()
.........................................................................
Closes all the sockets in the port list and clears the port list.
-------------------------------------------------------------------------

  void Clear();

Back to the top of CflowdFlowPortList


fd_set & FdSet();


-------------------------------------------------------------------------
fd_set & FdSet()
.........................................................................
Returs a reference to the fd_set for the port list. The fd_set will have the bit set for each open socket descriptor we have in our list.
-------------------------------------------------------------------------

  fd_set & FdSet();

Back to the top of CflowdFlowPortList


int MaxFd() const;


-------------------------------------------------------------------------
int MaxFd() const
.........................................................................
Returns the max descriptor number we have open in the port list. This is generally used as an aid to setting the first argument to select().
-------------------------------------------------------------------------

  int MaxFd() const;

Back to the top of CflowdFlowPortList


All Members

public:
void CloseAll();
int OpenAll();
void Clear();
fd_set & FdSet();
int MaxFd() const;
protected:

Back to the top of CflowdFlowPortList


Ancestors

Inheritance chain for CflowdFlowPortList:

Back to the top of CflowdFlowPortList


Descendants

Class is not inherited by any others.

Back to the top of CflowdFlowPortList


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