|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.vacm.VacmGroupAccessTable
This class maintains a list of VacmGroupAccessEntry objects. It provides methods to get, add and remove groupAccessEntry objects. Once a VacmAccessEntry is created, it has to added using the addEntry method provided in this class. There is no need to instantiate this class as it is instantiated in the SnmpAPI constructor. The SnmpAPI provides methods to access this VacmGroupAccessTable.
SnmpAPI
Method Summary | |
boolean |
addEntry(VacmAccessEntry accessEntry,
byte[] groupName)
Adds the VacmAccessEntry object to the list of VacmAccessEntry objects in the VacmGroupAccessEntry. |
void |
deSerialize(java.io.ObjectInputStream in)
Retrives the VacmGroupAccess entries from the file VacmGroupAccessEntry to the GrpAccessTable |
VacmGroupAccessEntry |
getEntry(byte[] groupName)
Returns the VacmGroupAccessEntry object corresponding to the groupName specified. |
java.util.Enumeration |
getEnumeration()
Returns an Enumeration of all the VacmGroupAccessEntry objects maintained in this class. |
void |
removeAllEntries()
Removes all the VacmGroupAccessEntry Objects maintained by this class. |
void |
removeEntry(VacmAccessEntry accessEntry,
byte[] groupName)
Removes the specified VacmAccessEntry object from the list of VacmAccessEntry objects in VacmGroupAccessEntry. |
void |
serialize(java.io.ObjectOutputStream out)
Stores the VacmGroupAccess entries in the file GrpAccessEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean addEntry(VacmAccessEntry accessEntry, byte[] groupName)
accessEntry
- The VacmAccessEntry object to be added.groupName
- The VacmGroupName corresponding to which the access
entry is to be addedpublic void removeAllEntries()
public java.util.Enumeration getEnumeration()
public void removeEntry(VacmAccessEntry accessEntry, byte[] groupName)
accessEntry
- The VacmAccessEntry to be removed.groupName
- The VacmGroupName associated with
VacmGroupAccessEntry for which the VacmAccessEntry is to be removed.public VacmGroupAccessEntry getEntry(byte[] groupName)
groupName
- The VacmGroupName for which the VacmGroupAccessEntry
object is to be returned.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 |