FileDocCategorySizeDatePackage
InetAddressAcl.javaAPI DocJava SE 5 API3596Fri Aug 26 14:55:02 BST 2005com.sun.jmx.snmp

InetAddressAcl

public interface InetAddressAcl
Defines the IP address based ACL used by the SNMP protocol adaptor.

This API is a Sun Microsystems internal API and is subject to change without notice.

since
1.5

Fields Summary
Constructors Summary
Methods Summary
public booleancheckCommunity(java.lang.String community)
Checks whether or not a community string is defined.

param
community The community to check.
return
true if the community is known, false otherwise.

public booleancheckReadPermission(java.net.InetAddress address)
Checks whether or not the specified host has READ access.

param
address The host address to check.
return
true if the host has read permission, false otherwise.

public booleancheckReadPermission(java.net.InetAddress address, java.lang.String community)
Checks whether or not the specified host and community have READ access.

param
address The host address to check.
param
community The community associated with the host.
return
true if the pair (host, community) has read permission, false otherwise.

public booleancheckWritePermission(java.net.InetAddress address)
Checks whether or not the specified host has WRITE access.

param
address The host address to check.
return
true if the host has write permission, false otherwise.

public booleancheckWritePermission(java.net.InetAddress address, java.lang.String community)
Checks whether or not the specified host and community have WRITE access.

param
address The host address to check.
param
community The community associated with the host.
return
true if the pair (host, community) has write permission, false otherwise.

public java.util.EnumerationgetInformCommunities(java.net.InetAddress address)
Returns an enumeration of inform communities for a given host.

param
address The address of the host.
return
An enumeration of inform communities for a given host (enumeration of String).

public java.util.EnumerationgetInformDestinations()
Returns an enumeration of inform destinations.

return
An enumeration of the inform destinations (enumeration of InetAddress).

public java.lang.StringgetName()
Returns the name of the ACL.

return
The name of the ACL.

public java.util.EnumerationgetTrapCommunities(java.net.InetAddress address)
Returns an enumeration of trap communities for a given host.

param
address The address of the host.
return
An enumeration of trap communities for a given host (enumeration of String).

public java.util.EnumerationgetTrapDestinations()
Returns an enumeration of trap destinations.

return
An enumeration of the trap destinations (enumeration of InetAddress).