|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the IP address based ACL used by the SNMP protocol adaptor.
Method Summary | |
boolean |
checkCommunity(String community)
Checks whether or not a community string is defined. |
boolean |
checkReadPermission(InetAddress address)
Checks whether or not the specified host has READ access. |
boolean |
checkReadPermission(InetAddress address,
String community)
Checks whether or not the specified host and community have READ access. |
boolean |
checkWritePermission(InetAddress address)
Checks whether or not the specified host has WRITE access. |
boolean |
checkWritePermission(InetAddress address,
String community)
Checks whether or not the specified host and community have WRITE access. |
Enumeration |
getInformCommunities(InetAddress address)
Returns an enumeration of inform communities for a given host. |
Enumeration |
getInformDestinations()
Returns an enumeration of inform destinations. |
String |
getName()
Returns the name of the ACL. |
Enumeration |
getTrapCommunities(InetAddress address)
Returns an enumeration of trap communities for a given host. |
Enumeration |
getTrapDestinations()
Returns an enumeration of trap destinations. |
Method Detail |
public String getName()
public boolean checkReadPermission(InetAddress address)
READ
access.
address
- The host address to check.
true
if the host has read permission, false
otherwise.public boolean checkReadPermission(InetAddress address, String community)
READ
access.
address
- The host address to check.community
- The community associated with the host.
true
if the pair (host, community) has read permission, false
otherwise.public boolean checkCommunity(String community)
community
- The community to check.
true
if the community is known, false
otherwise.public boolean checkWritePermission(InetAddress address)
WRITE
access.
address
- The host address to check.
true
if the host has write permission, false
otherwise.public boolean checkWritePermission(InetAddress address, String community)
WRITE
access.
address
- The host address to check.community
- The community associated with the host.
true
if the pair (host, community) has write permission, false
otherwise.public Enumeration getTrapDestinations()
InetAddress).
public Enumeration getTrapCommunities(InetAddress address)
address
- The address of the host.
String).
public Enumeration getInformDestinations()
InetAddress).
public Enumeration getInformCommunities(InetAddress address)
address
- The address of the host.
String).
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |