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, 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
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, InetAddress address, int snmpTrapPort, List<SnmpV3User> snmpv3Users) throws IOException
- Throws:
IOException
-
registerForTraps
void registerForTraps(TrapNotificationListener listener, InetAddress address, int snmpTrapPort) throws IOException
- Throws:
IOException
-
registerForTraps
void registerForTraps(TrapNotificationListener listener, int snmpTrapPort) throws IOException
- Throws:
IOException
-
unregisterForTraps
void unregisterForTraps(TrapNotificationListener listener) throws IOException
- Throws:
IOException
-
getValueFactory
SnmpValueFactory getValueFactory()
-
getV1TrapBuilder
SnmpV1TrapBuilder getV1TrapBuilder()
-
getV2TrapBuilder
SnmpTrapBuilder getV2TrapBuilder()
-
getV3TrapBuilder
SnmpV3TrapBuilder getV3TrapBuilder()
-
getV2InformBuilder
SnmpV2TrapBuilder getV2InformBuilder()
-
getV3InformBuilder
SnmpV3TrapBuilder getV3InformBuilder()
-
getLocalEngineID
byte[] getLocalEngineID()
-
-