AGENT++  4.0.3
Public Member Functions | List of all members
NotificationSender Class Referenceabstract

The abstract class NotificationSender defines the interface for all classes capable of sending notifications or inform requests. More...

#include <mib.h>

Inheritance diagram for NotificationSender:
NotificationOriginator

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.
 

Detailed Description

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.

Author
Frank Fock
Version
3.5.10
Since
3.5.10

Constructor & Destructor Documentation

NotificationSender::NotificationSender ( )
inline

Default constructor.

virtual NotificationSender::~NotificationSender ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual int NotificationSender::notify ( const NS_SNMP OctetStr &  ,
const Oidx ,
Vbx ,
int  ,
unsigned  int = 0 
)
pure virtual

Send a notification.

Parameters
contextthe context originating the notification ("" for the default context).
trapoidthe oid of the notification.
vbsan array of variable bindings.
sizethe size of the above variable binding array.
timestampan optional timestamp.
Returns
SNMP_ERROR_SUCCESS if the notification could be sent successfully, otherwise an appropriate SNMP error is returned.

Implemented in NotificationOriginator.


The documentation for this class was generated from the following file: