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

The abstract class NotificationType defines the interface for all classes implementing a NOTIFICATION-TYPE or TRAP-TYPE SMI construct. More...

#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.
 

Detailed Description

The abstract class NotificationType defines the interface for all classes implementing a NOTIFICATION-TYPE or TRAP-TYPE SMI construct.

Typically a NotificationType uses a NotificationSender to send a notification, trap, or inform request.

Author
Frank Fock
Version
3.5.10
Since
3.5.10

Constructor & Destructor Documentation

NotificationType::NotificationType ( )
inline

Default constructor.

virtual NotificationType::~NotificationType ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual int NotificationType::notify ( const NS_SNMP OctetStr &  ,
Vbx ,
int   
)
pure virtual

Send a notification.

Parameters
contextthe context originating the notification ("" for the default context).
vbsan array of variable bindings that have to contain at least instances for those objects specified in the NOTIFICATION-TYPE's OBJECTS clause.
sizethe size of the above variable binding array.
Returns
SNMP_ERROR_SUCCESS if the notification could be sent successfully, otherwise an appropriate SNMP error is returned.

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