Package org.opennms.mock.snmp.responder
Class Sleeper
- java.lang.Object
-
- org.opennms.mock.snmp.responder.Sleeper
-
- All Implemented Interfaces:
DynamicVariable
public class Sleeper extends java.lang.Object implements DynamicVariable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sleeper
getInstance()
long
getSleepTime()
org.snmp4j.smi.Variable
getVariable()
org.snmp4j.smi.Variable
getVariableForOID(java.lang.String oidStr)
void
resetWithVariable(org.snmp4j.smi.Variable var)
void
setSleepTime(long millis)
void
setVariable(org.snmp4j.smi.Variable var)
-
-
-
Method Detail
-
getInstance
public static Sleeper getInstance()
-
resetWithVariable
public void resetWithVariable(org.snmp4j.smi.Variable var)
-
getSleepTime
public long getSleepTime()
-
setSleepTime
public void setSleepTime(long millis)
-
getVariable
public org.snmp4j.smi.Variable getVariable()
-
setVariable
public void setVariable(org.snmp4j.smi.Variable var)
-
getVariableForOID
public org.snmp4j.smi.Variable getVariableForOID(java.lang.String oidStr)
- Specified by:
getVariableForOID
in interfaceDynamicVariable
-
-