|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.vacm.VacmViewTreeTable
This class maintains a list of VacmViewTreeEntry Objects. It provides methods to get entry,add and remove VacmViewTreeEntry objects. Once a VacmFamilyEntry is created, it has to be added using the addEntry method provided in this class. The API user need not instantiate this class as it is instantiated by the SnmpAPI constructor. The SnmpAPI provides methods to access this VacmViewTreeTable.
SnmpAPI| Field Summary | |
(package private) java.util.Hashtable |
familyTable
HashTable which maps familyName to VacmViewTreeEntry Objects |
(package private) static int |
MASK
|
(package private) static int |
spinLock
The spinlock. |
(package private) static int |
STATUS
|
(package private) static int |
STORAGETYPE
|
(package private) static int |
SUBTREE
|
(package private) static int |
TYPE
|
(package private) static int |
VIEWNAME
|
| Constructor Summary | |
(package private) |
VacmViewTreeTable()
|
| Method Summary | |
boolean |
addEntry(VacmFamilyEntry familyEntry11,
byte[] familyName,
int lock)
Adds the VacmFamilyEntry object to the list of VacmFamilyEntry objects in the VacmViewTreeEntry. |
void |
deSerialize(java.io.ObjectInputStream in)
|
VacmViewTreeEntry |
getEntry(byte[] familyName)
Returns the VacmViewTreeentry corresponding to the particular familyName specified. |
java.util.Enumeration |
getEnumeration()
Returns an enumeration of all the VacmViewTreeEntry objects maintained by this class. |
int |
getSpinLock()
Get the spinlock value. |
void |
removeAllEntries()
Removes all the VacmViewTreeEntry objects maintained by this class. |
boolean |
removeEntry(VacmFamilyEntry familyEntry,
byte[] familyName,
int lock)
Removes the specified VacmFamilyEntry from the list of VacmFamilyEntry objects in VacmViewTreeEntry. |
void |
serialize(java.io.ObjectOutputStream out)
Stores the VacmViewTree entries in the file FamilyEntry |
(package private) void |
setDBOperations(com.adventnet.utils.DatabaseOperations d)
|
(package private) void |
setV3DatabaseFlag(boolean dbFlag)
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static final int VIEWNAME
static final int SUBTREE
static final int MASK
static final int TYPE
static final int STORAGETYPE
static final int STATUS
java.util.Hashtable familyTable
static int spinLock
| Constructor Detail |
VacmViewTreeTable()
| Method Detail |
void setDBOperations(com.adventnet.utils.DatabaseOperations d)
void setV3DatabaseFlag(boolean dbFlag)
public int getSpinLock()
public java.util.Enumeration getEnumeration()
public void removeAllEntries()
public boolean addEntry(VacmFamilyEntry familyEntry11,
byte[] familyName,
int lock)
familyEntry11 - The VacmFamilyEntry object to be added.familyName - The FamilyName corresponding to which the family
entry is to be addedlock - The spinlock valuepublic VacmViewTreeEntry getEntry(byte[] familyName)
familyName - The FamilyViewName for which the VacmViewTreeEntry
object is to be returned.
public boolean removeEntry(VacmFamilyEntry familyEntry,
byte[] familyName,
int lock)
familyEntry - The VacmFamilyEntry object to be removed.familyName - The familyViewName associated with the
VacmViewTreeEntry for which the VacmFamilyEntry is to be removed.lock - The spinlock value.public void serialize(java.io.ObjectOutputStream out)
public void deSerialize(java.io.ObjectInputStream in)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||