1 11 12 13 package com.sun.jmx.snmp.agent; 14 15 16 17 import java.util.Vector ; 20 import java.io.IOException ; 21 22 import com.sun.jmx.snmp.SnmpOid; 25 import com.sun.jmx.snmp.SnmpStatusException; 26 27 35 36 public interface SnmpMibHandler { 37 38 49 public SnmpMibHandler addMib(SnmpMibAgent mib) throws IllegalArgumentException ; 50 51 62 public SnmpMibHandler addMib(SnmpMibAgent mib, SnmpOid[] oids) throws IllegalArgumentException ; 63 64 76 public SnmpMibHandler addMib(SnmpMibAgent mib, String contextName) 77 throws IllegalArgumentException ; 78 79 92 public SnmpMibHandler addMib(SnmpMibAgent mib, String contextName, SnmpOid[] oids) 93 throws IllegalArgumentException ; 94 95 105 public boolean removeMib(SnmpMibAgent mib); 106 118 public boolean removeMib(SnmpMibAgent mib, SnmpOid[] oids); 119 130 public boolean removeMib(SnmpMibAgent mib, String contextName); 131 142 public boolean removeMib(SnmpMibAgent mib, String contextName, SnmpOid[] oids); 143 } 144 | Popular Tags |