|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InetAddressAcl
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 |
---|
String getName()
boolean checkReadPermission(InetAddress address)
READ
access.
address
- The host address to check.
true
if the host has read permission, false
otherwise.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.boolean checkCommunity(String community)
community
- The community to check.
true
if the community is known, false
otherwise.boolean checkWritePermission(InetAddress address)
WRITE
access.
address
- The host address to check.
true
if the host has write permission, false
otherwise.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.Enumeration getTrapDestinations()
InetAddress).
Enumeration getTrapCommunities(InetAddress address)
address
- The address of the host.
String).
Enumeration getInformDestinations()
InetAddress).
Enumeration getInformCommunities(InetAddress address)
address
- The address of the host.
String).
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |