SNMP++  3.3.11
CNotifyEvent Class Reference

#include <notifyqueue.h>

Collaboration diagram for CNotifyEvent:

Public Member Functions

 CNotifyEvent (Snmp *snmp, const OidCollection &trapids, const TargetCollection &targets)
 
 ~CNotifyEvent ()
 
SnmpGetId ()
 
int notify_filter (const Oid &trapid, SnmpTarget &target) const
 
int Callback (SnmpTarget &target, Pdu &pdu, SnmpSocket fd, int status)
 
void get_filter (OidCollection &o, TargetCollection &t)
 

Protected Attributes

Snmpm_snmp
 
TargetCollectionnotify_targets
 
OidCollectionnotify_ids
 

Detailed Description

Definition at line 96 of file notifyqueue.h.

Constructor & Destructor Documentation

◆ CNotifyEvent()

CNotifyEvent::CNotifyEvent ( Snmp snmp,
const OidCollection trapids,
const TargetCollection targets 
)

◆ ~CNotifyEvent()

CNotifyEvent::~CNotifyEvent ( )

Member Function Documentation

◆ Callback()

int CNotifyEvent::Callback ( SnmpTarget target,
Pdu pdu,
SnmpSocket  fd,
int  status 
)

◆ get_filter()

void CNotifyEvent::get_filter ( OidCollection o,
TargetCollection t 
)
inline

Definition at line 107 of file notifyqueue.h.

◆ GetId()

Snmp* CNotifyEvent::GetId ( )
inline

Definition at line 104 of file notifyqueue.h.

◆ notify_filter()

int CNotifyEvent::notify_filter ( const Oid trapid,
SnmpTarget target 
) const

Member Data Documentation

◆ m_snmp

Snmp* CNotifyEvent::m_snmp
protected

Definition at line 108 of file notifyqueue.h.

◆ notify_ids

OidCollection* CNotifyEvent::notify_ids
protected

Definition at line 113 of file notifyqueue.h.

◆ notify_targets

TargetCollection* CNotifyEvent::notify_targets
protected

Definition at line 112 of file notifyqueue.h.


The documentation for this class was generated from the following file: