|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.BaseAclTable
public class BaseAclTable
This class is to provide common Acl Authentication to both the standalone SnmpAgent, J2ME-SNMP Agent and multiprocol SnmpAgent - SnmpAdaptor
This class provides methods to store the AclTable Entries in the
Runtime Memory.Both AclTable and MicroAclTable
extends this class and make use of the methods available in this class.
AclTable,
MicroAclTable| Field Summary | |
|---|---|
(package private) AclEntry |
aclEntry
|
java.util.Vector |
aclVec
|
(package private) boolean |
modified
|
| Constructor Summary | |
|---|---|
BaseAclTable()
|
|
| Method Summary | |
|---|---|
boolean |
addAclEntry(AclEntryInterface entry)
This method Adds the given entry to the Agent Community Authentication Vector. |
AclEntryInterface |
getAclEntry(java.lang.String community)
The method to get the AclEntry instance corresponding to the given community String. |
AclEntry |
getAclEntryInstance()
API users can override this method to have their own AclEntryInterface. |
java.util.Vector |
getTableVector()
Method to retrieve the number of Entries in the AclTable. |
boolean |
isModified()
The method for knowing whether the AclEntries were modified. |
void |
setModified(boolean isModified)
Method to set the FailOver Flag. |
void |
setTableVector(java.util.Vector tableVector)
Method to set the Vector of AclEntries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
AclEntry aclEntry
boolean modified
public java.util.Vector aclVec
| Constructor Detail |
|---|
public BaseAclTable()
| Method Detail |
|---|
public boolean addAclEntry(AclEntryInterface entry)
entry - The AclEntry instance.
public AclEntryInterface getAclEntry(java.lang.String community)
community - The community String for the entry to be retrieved.
public java.util.Vector getTableVector()
public void setTableVector(java.util.Vector tableVector)
tableVector - - the Vector containing AclEntry Objects sorted
according to their Instance.public AclEntry getAclEntryInstance()
public void setModified(boolean isModified)
isModified - The boolean specifying whether the Table Entries were
changed.isModified()public boolean isModified()
setModified(boolean isModified)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||