65 #include <sys/types.h>
71 #if !(defined CPU && CPU == PPC603)
83 #ifdef SNMP_PP_NAMESPACE
108 int notify_filter(
const Oid &trapid,
SnmpTarget &target)
const;
111 { o = *notify_ids; t = *notify_targets; };
128 int AddEntry(
Snmp * snmp,
132 void DeleteEntry(
Snmp * snmp);
137 #ifdef HAVE_POLL_SYSCALL
139 bool GetFdArray(
struct pollfd *readfds,
int &remaining);
140 int HandleEvents(
const struct pollfd *readfds,
const int fds);
142 void GetFdSets(
int &maxfds, fd_set &readfds, fd_set &writefds,
144 int HandleEvents(
const int maxfds,
145 const fd_set &readfds,
146 const fd_set &writefds,
147 const fd_set &exceptfds);
196 #ifdef SNMP_PP_NAMESPACE
200 #endif // NOTIFYQUEUE
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.