#include <vacm.h>
Public Member Functions | |
VacmViewTreeFamilyTable () | |
virtual | ~VacmViewTreeFamilyTable () |
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. | |
virtual void | row_activated (MibTableRow *, const Oidx &, MibTable *) |
Is called when a row is activated by a SET request setting the rowþs snmpRowStatus object to active(1). | |
virtual void | row_deactivated (MibTableRow *, const Oidx &, MibTable *) |
Is called when a row is deactivated by a SET request setting the rowþs snmpRowStatus object to notInService(2). | |
virtual void | row_delete (MibTableRow *, const Oidx &, MibTable *) |
Is called before a row is deleted by MibTable. | |
virtual void | row_init (MibTableRow *, const Oidx &, MibTable *t=0) |
Is called after a new row has been initialized (i.e., after it has been loaded from persistent storage). | |
boolean | isInMibView (const NS_SNMP OctetStr &, const Oidx &) |
boolean | addNewRow (const NS_SNMP OctetStr &viewName, const Oidx &subtree, const NS_SNMP OctetStr &mask, int type, int storageType) |
void | deleteRow (const NS_SNMP OctetStr &viewName, const Oidx &subtree) |
virtual void | clear () |
Removes all rows from this table. | |
virtual void | reset () |
Removes all rows that are not permanent and not read-only. | |
Protected Member Functions | |
boolean | bit (unsigned int, NS_SNMP OctetStr &) |
ViewNameIndex * | viewsOf (const NS_SNMP OctetStr &viewName) |
void | buildViewNameIndex () |
Protected Attributes | |
List< ViewNameIndex > | viewNameIndex |
Friends | |
class | VacmViewTreeFamilyTableStatus |
VacmViewTreeFamilyTable::VacmViewTreeFamilyTable | ( | ) |
virtual VacmViewTreeFamilyTable::~VacmViewTreeFamilyTable | ( | ) | [virtual] |
virtual boolean VacmViewTreeFamilyTable::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 VacmViewTreeFamilyTable::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 VacmViewTreeFamilyTable::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.
virtual void VacmViewTreeFamilyTable::row_activated | ( | MibTableRow * | , | |
const Oidx & | , | |||
MibTable * | t | |||
) | [virtual] |
Is called when a row is activated by a SET request setting the rowþs snmpRowStatus object to active(1).
row | - A pointer to MibTableRow that has been activated. | |
index | - The index of the activated row. | |
source | a pointer to the source MibTable of the event, or 0 if the event is local. |
Reimplemented from MibTable.
virtual void VacmViewTreeFamilyTable::row_deactivated | ( | MibTableRow * | , | |
const Oidx & | , | |||
MibTable * | t | |||
) | [virtual] |
Is called when a row is deactivated by a SET request setting the rowþs snmpRowStatus object to notInService(2).
row | - A pointer to MibTableRow that has been deactivated. | |
index | - The index of the deactivated row. | |
source | a pointer to the source MibTable of the event, or 0 if the event is local. |
Reimplemented from MibTable.
virtual void VacmViewTreeFamilyTable::row_delete | ( | MibTableRow * | , | |
const Oidx & | , | |||
MibTable * | t | |||
) | [virtual] |
Is called before a row is deleted by MibTable.
row | A pointer to MibTableRow that will be deleted. | |
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.
virtual void VacmViewTreeFamilyTable::row_init | ( | MibTableRow * | , | |
const Oidx & | , | |||
MibTable * | t = 0 | |||
) | [virtual] |
Is called after a new row has been initialized (i.e., after it has been loaded from persistent storage).
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 VacmViewTreeFamilyTable::isInMibView | ( | const NS_SNMP OctetStr & | , | |
const Oidx & | ||||
) |
boolean VacmViewTreeFamilyTable::addNewRow | ( | const NS_SNMP OctetStr & | viewName, | |
const Oidx & | subtree, | |||
const NS_SNMP OctetStr & | mask, | |||
int | type, | |||
int | storageType | |||
) |
void VacmViewTreeFamilyTable::deleteRow | ( | const NS_SNMP OctetStr & | viewName, | |
const Oidx & | subtree | |||
) |
virtual void VacmViewTreeFamilyTable::clear | ( | ) | [inline, virtual] |
virtual void VacmViewTreeFamilyTable::reset | ( | ) | [inline, virtual] |
boolean VacmViewTreeFamilyTable::bit | ( | unsigned | int, | |
NS_SNMP OctetStr & | ||||
) | [protected] |
ViewNameIndex* VacmViewTreeFamilyTable::viewsOf | ( | const NS_SNMP OctetStr & | viewName | ) | [protected] |
void VacmViewTreeFamilyTable::buildViewNameIndex | ( | ) | [protected] |
friend class VacmViewTreeFamilyTableStatus [friend] |
List<ViewNameIndex> VacmViewTreeFamilyTable::viewNameIndex [protected] |