|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.aclparser.DefaultTrapPolicy
public class 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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()
getManagers in interface TrapPolicypublic void setCommunity(java.lang.String community)
public java.lang.String getCommunity()
getCommunity in interface TrapPolicy
public boolean checkPolicy(int trapIndex,
java.lang.String enterpriseOID)
TrapPolicy
checkPolicy in interface TrapPolicytrapIndex - the trapIndex
(could be generic or enterprise specific)
public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||