#include <mib.h>
Public Member Functions | |
NotificationSender () | |
Default constructor. | |
virtual | ~NotificationSender () |
Destructor. | |
virtual int | notify (const NS_SNMP OctetStr &, const Oidx &, Vbx *, int, unsigned int=0)=0 |
Send a notification. |
Known implementations of this interface are NotificationOriginator and SubAgentXMib.
NotificationSender::NotificationSender | ( | ) | [inline] |
Default constructor.
virtual NotificationSender::~NotificationSender | ( | ) | [inline, virtual] |
Destructor.
virtual int NotificationSender::notify | ( | const NS_SNMP OctetStr & | , | |
const Oidx & | , | |||
Vbx * | , | |||
int | , | |||
unsigned | int = 0 | |||
) | [pure virtual] |
Send a notification.
context | the context originating the notification ("" for the default context). | |
trapoid | the oid of the notification. | |
vbs | an array of variable bindings. | |
size | the size of the above variable binding array. | |
timestamp | an optional timestamp. |
Implemented in NotificationOriginator.