SNMP++
3.3.11
|
#include <notifyqueue.h>
Classes | |
class | CNotifyEventQueueElt |
Public Member Functions | |
CNotifyEventQueue (EventListHolder *holder, Snmp *session) | |
~CNotifyEventQueue () | |
int | AddEntry (Snmp *snmp, const OidCollection &trapids, const TargetCollection &targets) |
CNotifyEvent * | GetEntry (Snmp *snmp) |
void | DeleteEntry (Snmp *snmp) |
int | GetNextTimeout (msec &) |
void | GetFdSets (int &maxfds, fd_set &readfds, fd_set &writefds, fd_set &exceptfds) |
int | HandleEvents (const int maxfds, const fd_set &readfds, const fd_set &writefds, const fd_set &exceptfds) |
int | GetCount () |
int | DoRetries (const msec &) |
int | Done () |
void | set_listen_port (int port) |
int | get_listen_port () |
SnmpSocket | get_notify_fd () const |
Public Member Functions inherited from CEvents | |
virtual | ~CEvents () |
Public Member Functions inherited from SnmpSynchronized | |
SnmpSynchronized () | |
virtual | ~SnmpSynchronized () |
void | lock () |
void | unlock () |
Protected Member Functions | |
void | cleanup () |
Protected Attributes | |
CNotifyEventQueueElt | m_head |
int | m_msgCount |
SnmpSocket | m_notify_fd |
int | m_listen_port |
EventListHolder * | my_holder |
Snmp * | m_snmpSession |
UdpAddress | m_notify_addr |
Additional Inherited Members | |
Public Attributes inherited from SnmpSynchronized | |
pthread_mutex_t | _mutex |
Definition at line 120 of file notifyqueue.h.
CNotifyEventQueue::CNotifyEventQueue | ( | EventListHolder * | holder, |
Snmp * | session | ||
) |
CNotifyEventQueue::~CNotifyEventQueue | ( | ) |
int CNotifyEventQueue::AddEntry | ( | Snmp * | snmp, |
const OidCollection & | trapids, | ||
const TargetCollection & | targets | ||
) |
|
protected |
void CNotifyEventQueue::DeleteEntry | ( | Snmp * | snmp | ) |
|
inlinevirtual |
Implements CEvents.
Definition at line 151 of file notifyqueue.h.
|
inlinevirtual |
Implements CEvents.
Definition at line 149 of file notifyqueue.h.
|
inline |
Definition at line 153 of file notifyqueue.h.
SnmpSocket CNotifyEventQueue::get_notify_fd | ( | ) | const |
|
inlinevirtual |
Implements CEvents.
Definition at line 147 of file notifyqueue.h.
CNotifyEvent* CNotifyEventQueue::GetEntry | ( | Snmp * | snmp | ) |
|
virtual |
Implements CEvents.
|
inlinevirtual |
Implements CEvents.
Definition at line 132 of file notifyqueue.h.
|
virtual |
Implements CEvents.
|
inline |
Definition at line 152 of file notifyqueue.h.
|
protected |
Definition at line 184 of file notifyqueue.h.
|
protected |
Definition at line 187 of file notifyqueue.h.
|
protected |
Definition at line 185 of file notifyqueue.h.
|
protected |
Definition at line 190 of file notifyqueue.h.
|
protected |
Definition at line 186 of file notifyqueue.h.
|
protected |
Definition at line 189 of file notifyqueue.h.
|
protected |
Definition at line 188 of file notifyqueue.h.