#include <mib.h>
Public Member Functions | |
NotificationType () | |
Default constructor. | |
virtual | ~NotificationType () |
Destructor. | |
virtual int | notify (const NS_SNMP OctetStr &, Vbx *, int)=0 |
Send a notification. |
Typically a NotificationType uses a NotificationSender to send a notification, trap, or inform request.
NotificationType::NotificationType | ( | ) | [inline] |
Default constructor.
virtual NotificationType::~NotificationType | ( | ) | [inline, virtual] |
Destructor.
virtual int NotificationType::notify | ( | const NS_SNMP OctetStr & | , | |
Vbx * | , | |||
int | ||||
) | [pure virtual] |
Send a notification.
context | the context originating the notification ("" for the default context). | |
vbs | an array of variable bindings that have to contain at least instances for those objects specified in the NOTIFICATION-TYPE's OBJECTS clause. | |
size | the size of the above variable binding array. |