VacmAccessTable Class Reference

#include <vacm.h>

Inheritance diagram for VacmAccessTable:

StorageTable MibTable MibEntry MibTableVoter ThreadManager Synchronized

List of all members.

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 &notifyView, int storageType)
void deleteRow (const NS_SNMP OctetStr &groupName, const NS_SNMP OctetStr &prefix, int securityModel, int securityLevel)

Protected Attributes

VacmSecurityToGroupTablesecurityToGroupTable


Constructor & Destructor Documentation

VacmAccessTable::VacmAccessTable ( VacmSecurityToGroupTable  ) 

virtual VacmAccessTable::~VacmAccessTable (  )  [virtual]


Member Function Documentation

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.

Parameters:
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.
Returns:
TRUE if the specified row is ready to set for service.

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.

Parameters:
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
Returns:
TRUE if an object of the given oid could be created.

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.

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


Member Data Documentation


The documentation for this class was generated from the following file:

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