61 #ifndef _SNMP_NOTIFYQUEUE_H_ 62 #define _SNMP_NOTIFYQUEUE_H_ 66 #include <sys/types.h> 68 #if !(defined CPU && CPU == PPC603) 80 #ifdef SNMP_PP_NAMESPACE 105 int notify_filter(
const Oid &trapid,
SnmpTarget &target)
const;
108 { o = *notify_ids; t = *notify_targets; };
125 int AddEntry(
Snmp * snmp,
129 void DeleteEntry(
Snmp * snmp);
134 #ifdef HAVE_POLL_SYSCALL 136 bool GetFdArray(
struct pollfd *readfds,
int &remaining);
137 int HandleEvents(
const struct pollfd *readfds,
const int fds);
139 void GetFdSets(
int &maxfds, fd_set &readfds, fd_set &writefds,
141 int HandleEvents(
const int maxfds,
142 const fd_set &readfds,
143 const fd_set &writefds,
144 const fd_set &exceptfds);
193 #ifdef SNMP_PP_NAMESPACE 197 #endif // _SNMP_NOTIFYQUEUE_H_
EventListHolder * my_holder
int DoRetries(const msec &)
class CNotifyEventQueueElt * m_previous
CNotifyEventQueueElt * GetNext()
void get_filter(OidCollection &o, TargetCollection &t)
The Object Identifier Class.
TargetCollection * notify_targets
class CNotifyEventQueueElt * m_Next
int GetNextTimeout(msec &)
CNotifyEvent * m_notifyevent
CNotifyEvent * GetNotifyEvent()
CNotifyEventQueueElt m_head
OidCollection * notify_ids
void set_listen_port(int port)
Abstract class used to provide a virtual interface into Targets.