#include <vacm.h>
Public Member Functions | |
VacmAccessTable (VacmSecurityToGroupTable *) | |
virtual | ~VacmAccessTable () |
virtual boolean | ready_for_service (Vbx *, int) |
Check whether the specified row is ready to set in service. | |
virtual boolean | could_ever_be_managed (const Oidx &, int &) |
Check if an object of a given oid could be created. | |
virtual void | row_added (MibTableRow *, const Oidx &, MibTable *) |
Is called after a new row has been created and automatic index generation has taken place. | |
boolean | getViewName (const NS_SNMP OctetStr &, const NS_SNMP OctetStr &, int &, int &, const int &, NS_SNMP OctetStr &) |
boolean | addNewRow (const NS_SNMP OctetStr &groupName, const NS_SNMP OctetStr &prefix, int securityModel, int securityLevel, int match, const NS_SNMP OctetStr &readView, const NS_SNMP OctetStr &writeView, const NS_SNMP OctetStr ¬ifyView, int storageType) |
void | deleteRow (const NS_SNMP OctetStr &groupName, const NS_SNMP OctetStr &prefix, int securityModel, int securityLevel) |
Protected Attributes | |
VacmSecurityToGroupTable * | securityToGroupTable |
VacmAccessTable::VacmAccessTable | ( | VacmSecurityToGroupTable * | ) |
virtual VacmAccessTable::~VacmAccessTable | ( | ) | [virtual] |
virtual boolean VacmAccessTable::ready_for_service | ( | Vbx * | pvbs, | |
int | sz | |||
) | [virtual] |
Check whether the specified row is ready to set in service.
This method is left empty for override by the API user.
pvbs | - A pointer to an array of Vbx objects containing the values and oids of the columns of a row to check. | |
sz | - The size of the array. |
Reimplemented from MibTable.
virtual boolean VacmAccessTable::could_ever_be_managed | ( | const Oidx & | , | |
int & | ||||
) | [virtual] |
Check if an object of a given oid could be created.
o | the oid to be checked. | |
result | returns the SNMP error code, which explains why creation could not be performed. Possible values are: SNMP_ERROR_NO_CREATION and SNMP_ERROR_NOT_WRITEABLE |
Reimplemented from MibTable.
virtual void VacmAccessTable::row_added | ( | MibTableRow * | , | |
const Oidx & | , | |||
MibTable * | t | |||
) | [virtual] |
Is called after a new row has been created and automatic index generation has taken place.
row | A pointer to MibTableRow that has been created. | |
index | - The index of the row. | |
source | a pointer to the source MibTable of the event, or 0 if the event is local. |
Reimplemented from MibTable.
boolean VacmAccessTable::getViewName | ( | const NS_SNMP OctetStr & | , | |
const NS_SNMP OctetStr & | , | |||
int & | , | |||
int & | , | |||
const int & | , | |||
NS_SNMP OctetStr & | ||||
) |
boolean VacmAccessTable::addNewRow | ( | const NS_SNMP OctetStr & | groupName, | |
const NS_SNMP OctetStr & | prefix, | |||
int | securityModel, | |||
int | securityLevel, | |||
int | match, | |||
const NS_SNMP OctetStr & | readView, | |||
const NS_SNMP OctetStr & | writeView, | |||
const NS_SNMP OctetStr & | notifyView, | |||
int | storageType | |||
) |
void VacmAccessTable::deleteRow | ( | const NS_SNMP OctetStr & | groupName, | |
const NS_SNMP OctetStr & | prefix, | |||
int | securityModel, | |||
int | securityLevel | |||
) |