Package org.opennms.netmgt.snmp.joesnmp
Class JoeSnmpWalker
- java.lang.Object
-
- org.opennms.netmgt.snmp.SnmpWalker
-
- org.opennms.netmgt.snmp.joesnmp.JoeSnmpWalker
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class JoeSnmpWalker extends SnmpWalker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
JoeSnmpWalker.GetBulkBuilder
static class
JoeSnmpWalker.GetNextBuilder
static class
JoeSnmpWalker.JoeSnmpPduBuilder
class
JoeSnmpWalker.JoeSnmpResponseHandler
-
Nested classes/interfaces inherited from class org.opennms.netmgt.snmp.SnmpWalker
SnmpWalker.WalkerPduBuilder
-
-
Constructor Summary
Constructors Constructor Description JoeSnmpWalker(JoeSnmpAgentConfig agentConfig, java.lang.String name, CollectionTracker tracker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected SnmpWalker.WalkerPduBuilder
createPduBuilder(int maxVarsPerPdu)
protected int
getVersion()
protected void
sendNextPdu(SnmpWalker.WalkerPduBuilder pduBuilder)
void
start()
-
Methods inherited from class org.opennms.netmgt.snmp.SnmpWalker
buildAndSendNextPdu, failed, getAddress, getErrorMessage, getErrorThrowable, getMaxVarsPerPdu, getName, handleAuthError, handleDone, handleError, handleError, handleFatalError, handleTimeout, processErrors, processResponse, setCallback, timedOut, waitFor, waitFor
-
-
-
-
Constructor Detail
-
JoeSnmpWalker
public JoeSnmpWalker(JoeSnmpAgentConfig agentConfig, java.lang.String name, CollectionTracker tracker)
-
-
Method Detail
-
start
public void start()
- Overrides:
start
in classSnmpWalker
-
createPduBuilder
protected SnmpWalker.WalkerPduBuilder createPduBuilder(int maxVarsPerPdu)
- Specified by:
createPduBuilder
in classSnmpWalker
-
sendNextPdu
protected void sendNextPdu(SnmpWalker.WalkerPduBuilder pduBuilder) throws SnmpException
- Specified by:
sendNextPdu
in classSnmpWalker
- Throws:
SnmpException
-
getVersion
protected int getVersion()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in classSnmpWalker
-
-