#include <vacm.h>
Public Member Functions | |
VacmSecurityToGroupTable () | |
virtual | ~VacmSecurityToGroupTable () |
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 | getGroupName (const int &securiyModel, const NS_SNMP OctetStr &securityName, NS_SNMP OctetStr &groupName) |
boolean | isGroupNameOK (const NS_SNMP OctetStr &) |
boolean | addNewRow (int securityModel, const NS_SNMP OctetStr &securityName, const NS_SNMP OctetStr &groupName, int storageType) |
void | deleteRow (int securityModel, const NS_SNMP OctetStr &securityName) |
VacmSecurityToGroupTable::VacmSecurityToGroupTable | ( | ) |
virtual VacmSecurityToGroupTable::~VacmSecurityToGroupTable | ( | ) | [virtual] |
virtual boolean VacmSecurityToGroupTable::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 VacmSecurityToGroupTable::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 VacmSecurityToGroupTable::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 VacmSecurityToGroupTable::getGroupName | ( | const int & | securiyModel, | |
const NS_SNMP OctetStr & | securityName, | |||
NS_SNMP OctetStr & | groupName | |||
) |
boolean VacmSecurityToGroupTable::isGroupNameOK | ( | const NS_SNMP OctetStr & | ) |
boolean VacmSecurityToGroupTable::addNewRow | ( | int | securityModel, | |
const NS_SNMP OctetStr & | securityName, | |||
const NS_SNMP OctetStr & | groupName, | |||
int | storageType | |||
) |
void VacmSecurityToGroupTable::deleteRow | ( | int | securityModel, | |
const NS_SNMP OctetStr & | securityName | |||
) |