Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

CNotifyEventQueue Class Reference

#include <notifyqueue.h>

Inheritance diagram for CNotifyEventQueue:

[legend]
Collaboration diagram for CNotifyEventQueue:
[legend]
List of all members.

Public Member Functions

 CNotifyEventQueue (EventListHolder *holder, Snmp *session)
 ~CNotifyEventQueue ()
int AddEntry (Snmp *snmp, const OidCollection &trapids, const TargetCollection &targets, const AddressCollection &addresses)
CNotifyEventGetEntry (Snmp *snmp)
void DeleteEntry (Snmp *snmp)
int GetNextTimeout (msec &)
void GetFdSets (int &maxfds, fd_set &readfds, fd_set &writefds, fd_set &exceptfds)
int GetCount ()
int HandleEvents (const int maxfds, const fd_set &readfds, const fd_set &writefds, const fd_set &exceptfds)
int DoRetries (const msec &)
int Done ()
int get_notify_fd () const

Static Public Member Functions

void set_listen_port (int port)
int get_listen_port ()

Protected Attributes

CNotifyEventQueueElt m_head
int m_msgCount
int m_notify_fd
EventListHoldermy_holder
Snmpm_snmpSession

Static Protected Attributes

int m_listen_port

Constructor & Destructor Documentation

CNotifyEventQueue::CNotifyEventQueue EventListHolder holder,
Snmp session
 

CNotifyEventQueue::~CNotifyEventQueue  ) 
 


Member Function Documentation

int CNotifyEventQueue::AddEntry Snmp snmp,
const OidCollection trapids,
const TargetCollection targets,
const AddressCollection addresses
 

void CNotifyEventQueue::DeleteEntry Snmp snmp  ) 
 

int CNotifyEventQueue::Done  )  [inline, virtual]
 

Implements CEvents.

Definition at line 168 of file notifyqueue.h.

int CNotifyEventQueue::DoRetries const msec  )  [inline, virtual]
 

Implements CEvents.

Definition at line 166 of file notifyqueue.h.

int CNotifyEventQueue::get_listen_port  )  [inline, static]
 

Definition at line 170 of file notifyqueue.h.

int CNotifyEventQueue::get_notify_fd  )  const [inline]
 

Definition at line 171 of file notifyqueue.h.

int CNotifyEventQueue::GetCount  )  [inline, virtual]
 

Implements CEvents.

Definition at line 160 of file notifyqueue.h.

CNotifyEvent* CNotifyEventQueue::GetEntry Snmp snmp  ) 
 

void CNotifyEventQueue::GetFdSets int &  maxfds,
fd_set &  readfds,
fd_set &  writefds,
fd_set &  exceptfds
[virtual]
 

Implements CEvents.

int CNotifyEventQueue::GetNextTimeout msec  )  [inline, virtual]
 

Implements CEvents.

Definition at line 155 of file notifyqueue.h.

int CNotifyEventQueue::HandleEvents const int  maxfds,
const fd_set &  readfds,
const fd_set &  writefds,
const fd_set &  exceptfds
[virtual]
 

Implements CEvents.

void CNotifyEventQueue::set_listen_port int  port  )  [inline, static]
 

Definition at line 169 of file notifyqueue.h.


Member Data Documentation

CNotifyEventQueueElt CNotifyEventQueue::m_head [protected]
 

Definition at line 199 of file notifyqueue.h.

int CNotifyEventQueue::m_listen_port [static, protected]
 

Definition at line 202 of file notifyqueue.h.

int CNotifyEventQueue::m_msgCount [protected]
 

Definition at line 200 of file notifyqueue.h.

int CNotifyEventQueue::m_notify_fd [protected]
 

Definition at line 201 of file notifyqueue.h.

Snmp* CNotifyEventQueue::m_snmpSession [protected]
 

Definition at line 207 of file notifyqueue.h.

EventListHolder* CNotifyEventQueue::my_holder [protected]
 

Definition at line 206 of file notifyqueue.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 22:42:16 2005 for SNMP++ by doxygen 1.3.2