|
AGENT++
4.0.3
|
The abstract class NotificationSender defines the interface for all classes capable of sending notifications or inform requests. More...
#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. | |
The abstract class NotificationSender defines the interface for all classes capable of sending notifications or inform requests.
Known implementations of this interface are NotificationOriginator and SubAgentXMib.
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
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.
1.8.2