1 11 12 package com.sun.jmx.snmp; 13 14 import java.net.InetAddress ; 17 import java.util.Enumeration ; 18 19 26 27 public interface InetAddressAcl { 28 29 34 public String getName(); 35 36 43 public boolean checkReadPermission(InetAddress address); 44 45 53 public boolean checkReadPermission(InetAddress address, String community); 54 55 62 public boolean checkCommunity(String community); 63 64 71 public boolean checkWritePermission(InetAddress address); 72 73 81 public boolean checkWritePermission(InetAddress address, String community); 82 83 88 public Enumeration getTrapDestinations(); 89 90 97 public Enumeration getTrapCommunities(InetAddress address); 98 99 104 public Enumeration getInformDestinations(); 105 106 113 public Enumeration getInformCommunities(InetAddress address); 114 } 115 | Popular Tags |