|
|||||||||
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
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 |