Package org.opennms.netmgt.snmp
Interface SnmpStrategy
-
- All Known Implementing Classes:
JoeSnmpStrategy
,MockSnmpStrategy
,Snmp4JStrategy
public interface SnmpStrategy
-
-
Method Summary
-
-
-
Method Detail
-
createWalker
SnmpWalker createWalker(SnmpAgentConfig agentConfig, java.lang.String name, CollectionTracker tracker)
-
set
SnmpValue set(SnmpAgentConfig agentConfig, SnmpObjId oid, SnmpValue value)
-
set
SnmpValue[] set(SnmpAgentConfig agentConfig, SnmpObjId[] oid, SnmpValue[] value)
-
get
SnmpValue get(SnmpAgentConfig agentConfig, SnmpObjId oid)
-
get
SnmpValue[] get(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
-
getAsync
java.util.concurrent.CompletableFuture<SnmpValue[]> getAsync(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
-
getNext
SnmpValue getNext(SnmpAgentConfig agentConfig, SnmpObjId oid)
-
getNext
SnmpValue[] getNext(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
-
getBulk
SnmpValue[] getBulk(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
-
registerForTraps
void registerForTraps(TrapNotificationListener listener, java.net.InetAddress address, int snmpTrapPort, java.util.List<SnmpV3User> snmpv3Users) throws java.io.IOException
- Throws:
java.io.IOException
-
registerForTraps
void registerForTraps(TrapNotificationListener listener, java.net.InetAddress address, int snmpTrapPort) throws java.io.IOException
- Throws:
java.io.IOException
-
registerForTraps
void registerForTraps(TrapNotificationListener listener, int snmpTrapPort) throws java.io.IOException
- Throws:
java.io.IOException
-
unregisterForTraps
void unregisterForTraps(TrapNotificationListener listener) throws java.io.IOException
- Throws:
java.io.IOException
-
getValueFactory
SnmpValueFactory getValueFactory()
-
getV1TrapBuilder
SnmpV1TrapBuilder getV1TrapBuilder()
-
getV2TrapBuilder
SnmpTrapBuilder getV2TrapBuilder()
-
getV3TrapBuilder
SnmpV3TrapBuilder getV3TrapBuilder()
-
getV2InformBuilder
SnmpV2TrapBuilder getV2InformBuilder()
-
getV3InformBuilder
SnmpV3TrapBuilder getV3InformBuilder()
-
getLocalEngineID
byte[] getLocalEngineID()
-
-