#include <eventlistholder.h>
Definition at line 47 of file eventlistholder.h.
| EventListHolder::EventListHolder |
( |
Snmp * |
snmp_session | ) |
|
| EventListHolder::~EventListHolder |
( |
| ) |
|
|
inline |
| int EventListHolder::SNMPBlockForResponse |
( |
const unsigned long |
req_id, |
|
|
Pdu & |
pdu |
|
) |
| |
| void EventListHolder::SNMPExitMainLoop |
( |
| ) |
|
| void EventListHolder::SNMPGetFdSets |
( |
int & |
maxfds, |
|
|
fd_set & |
readfds, |
|
|
fd_set & |
writefds, |
|
|
fd_set & |
exceptfds |
|
) |
| |
| unsigned long EventListHolder::SNMPGetNextTimeout |
( |
| ) |
|
| void EventListHolder::SNMPMainLoop |
( |
const int |
max_block_milliseconds = 0 | ) |
|
Infinite loop which blocks when there is nothing to do and handles any events.
- Note
- If no messages are outstanding, select() is called with the given timeout, so any async messages that are sent out later are not processed until this select call returns.
| int EventListHolder::SNMPProcessEvents |
( |
const int |
max_block_milliseconds = 0 | ) |
|
Block until an event shows up - then handle the event(s).
- Note
- If no messages are outstanding, select() is called with the given timeout, so any async messages that are sent out later are not processed until this select call returns.
| int EventListHolder::SNMPProcessPendingEvents |
( |
| ) |
|
The documentation for this class was generated from the following file: