|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.aclparser.DefaultTrapPolicy
The default Access Policy class which is created by parsing ACL files
| Field Summary | |
(package private) java.lang.String |
community
|
(package private) java.lang.String |
enterpiseOID
|
(package private) java.lang.String |
enterpriseOID
|
(package private) java.util.Vector |
managers
|
(package private) int |
trapIndex
|
| Constructor Summary | |
DefaultTrapPolicy()
|
|
| Method Summary | |
boolean |
checkPolicy(int trapIndex,
java.lang.String enterpriseOID)
Check policy method for the traps. |
java.lang.String |
getCommunity()
Implementation of TrapPolicy |
java.lang.String |
getEnterpriseOID()
Getter for enterpiseOID |
(package private) void |
getInetAddresses()
|
java.util.Vector |
getManagers()
Implementation of interface TrapPolicy |
int |
getTrapIndex()
Gettter for trapIndex |
void |
setCommunity(java.lang.String community)
Setter for comunity |
void |
setEnterpriseOID(java.lang.String val)
Setter for enterpiseOID |
void |
setManagers(java.util.Vector val)
setter for managers |
void |
setTrapIndex(int trapIndex)
Settter for trapIndex |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Vector managers
java.lang.String community
java.lang.String enterpriseOID
int trapIndex
java.lang.String enterpiseOID
| Constructor Detail |
public DefaultTrapPolicy()
| Method Detail |
public void setManagers(java.util.Vector val)
void getInetAddresses()
public java.util.Vector getManagers()
public void setCommunity(java.lang.String community)
public java.lang.String getCommunity()
public boolean checkPolicy(int trapIndex,
java.lang.String enterpriseOID)
trapIndex - the trapIndex
(could be generic or enterprise specific)String - enterpriseOID of the trap in dotted form .1.3.6.1.x.x.xpublic void setTrapIndex(int trapIndex)
public int getTrapIndex()
public void setEnterpriseOID(java.lang.String val)
public java.lang.String getEnterpriseOID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||