public class PropsMockSnmpMOLoaderImpl extends Object implements MockSnmpMOLoader
PropsMockSnmpMOLoaderImpl class.
Constructor and Description |
---|
PropsMockSnmpMOLoaderImpl() |
Modifier and Type | Method and Description |
---|---|
protected static org.snmp4j.agent.ManagedObject |
getMOFromPropString(String oidStr,
String valStr)
getMOFromPropString
|
static org.snmp4j.smi.Variable |
getVariableFromValueString(String oidStr,
String valStr)
getVariableFromValueString
|
List<org.snmp4j.agent.ManagedObject> |
loadMOs(org.springframework.core.io.Resource moFile)
loadMOs
|
static Properties |
loadProperties(org.springframework.core.io.Resource propertiesFile)
Deprecated.
Use
SnmpUtils.loadProperties(Resource) instead |
public List<org.snmp4j.agent.ManagedObject> loadMOs(org.springframework.core.io.Resource moFile)
loadMOs
loadMOs
in interface MockSnmpMOLoader
moFile
- a Resource
object.List
object.public static Properties loadProperties(org.springframework.core.io.Resource propertiesFile)
SnmpUtils.loadProperties(Resource)
insteadloadProperties
propertiesFile
- a Resource
object.Properties
object.protected static org.snmp4j.agent.ManagedObject getMOFromPropString(String oidStr, String valStr)
getMOFromPropString
Copyright © 2015. All Rights Reserved.