org.opennms.netmgt.snmp.mock
Class MockSnmpWalker.MockPduBuilder

java.lang.Object
  extended by org.opennms.netmgt.snmp.PduBuilder
      extended by org.opennms.netmgt.snmp.SnmpWalker.WalkerPduBuilder
          extended by org.opennms.netmgt.snmp.mock.MockSnmpWalker.MockPduBuilder
Enclosing class:
MockSnmpWalker

public static final class MockSnmpWalker.MockPduBuilder
extends SnmpWalker.WalkerPduBuilder


Constructor Summary
MockSnmpWalker.MockPduBuilder(int maxVarsPerPdu)
           
 
Method Summary
 void addOid(SnmpObjId snmpObjId)
           
 List<SnmpObjId> getOids()
           
 void reset()
           
 void setMaxRepetitions(int maxRepetitions)
           
 void setNonRepeaters(int numNonRepeaters)
           
 
Methods inherited from class org.opennms.netmgt.snmp.PduBuilder
getMaxVarsPerPdu, setMaxVarsPerPdu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockSnmpWalker.MockPduBuilder

public MockSnmpWalker.MockPduBuilder(int maxVarsPerPdu)
Method Detail

reset

public void reset()
Specified by:
reset in class SnmpWalker.WalkerPduBuilder

getOids

public List<SnmpObjId> getOids()

addOid

public void addOid(SnmpObjId snmpObjId)
Specified by:
addOid in class PduBuilder

setNonRepeaters

public void setNonRepeaters(int numNonRepeaters)
Specified by:
setNonRepeaters in class PduBuilder

setMaxRepetitions

public void setMaxRepetitions(int maxRepetitions)
Specified by:
setMaxRepetitions in class PduBuilder


Copyright © 2011. All Rights Reserved.