NotificationSender Class Reference

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

List of all members.

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

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

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