NotificationType Class Reference

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

#include <mib.h>

List of all members.

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 (  )  [inline, virtual]

Destructor.


Member Function Documentation

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

Send a notification.

Parameters:
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.
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:

Generated on Fri May 29 22:36:55 2009 for AGENT++ by  doxygen 1.5.6