|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.vacm.VacmGroupTable
This class maintains a list of VacmGroupEntry objects. It has methods to get entry, add and remove entry. When a new VacmContextEntry object is created, it has to be added using the addEntry method provided. The API user need not instantiate this class as it is instantiated by the SnmpAPI constructor. The SnmpAPI provides methods to access the VacmGroupTable.
SnmpAPI
Method Summary | |
boolean |
addEntry(VacmGroupEntry groupEntry)
Adds the VacmGroupEntry object to the list of VacmGroupEntry objects maintained by this class. |
void |
deSerialize(java.io.ObjectInputStream in)
|
VacmGroupEntry |
getEntry(int secModel,
byte[] secName)
Returns the VacmGroupEntry object corresponding to the particular securityModel and securityName. |
java.util.Enumeration |
getEnumeration()
Returns an enumeration of all the VacmGroupEntry Objects maintained in this class. |
void |
removeAllEntries()
Deletes all the VacmGroupEntry objects maintained by this class. |
void |
removeEntry(int model,
byte[] name)
Deletes the VacmGroupEntry from the list of VacmGroupEntry objects corresponding to securityModel and securityName. |
void |
removeEntry(VacmGroupEntry entry)
Deletes this particular VacmGroupEntry object from the list of VacmGroupEntry objects maintained in this class. |
void |
serialize(java.io.ObjectOutputStream out)
Stores the VacmGroup entries in the file GroupEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean addEntry(VacmGroupEntry groupEntry)
groupEntry
- The VacmGroupEntry object to be added.public void removeAllEntries()
public VacmGroupEntry getEntry(int secModel, byte[] secName)
secModel
- The VacmSecurityModel for which the VacmGroupEntry
is to be retrived.secName
- The VacmSecurityName for which the VacmGroupEntry
is to be retrived.public java.util.Enumeration getEnumeration()
public void removeEntry(int model, byte[] name)
model
- The VacmSecurityModel for which the VacmGroupEntry
is to be deleted.name
- The VacmSecurityName for which the VacmGroupEntry
is to deleted.public void removeEntry(VacmGroupEntry entry)
entry
- The VacmGroupEntry that is to be deleted.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 |