- All Known Implementing Classes:
DefaultMOInput,PropertyMOInput
public interface MOInput
The
MOInput models the interface for reading ManagedObject
data into a SNMP4J-Agent in a generic way.- Version:
- 1.2
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intReturns the update mode, which might be one of the constants defined byImportMode.org.snmp4j.smi.VariablevoidskipContext(Context context) voidSkips to the end of the specified managed object's configuration.
-
Method Details
-
getImportMode
int getImportMode()Returns the update mode, which might be one of the constants defined byImportMode.- Returns:
- the constant denoting the update mode that should be used by a
SerializableManagedObjectto import its content from persistent storage.
-
readContext
- Throws:
IOException
-
skipContext
- Throws:
IOException
-
readManagedObject
- Throws:
IOException
-
skipManagedObject
Skips to the end of the specified managed object's configuration.- Parameters:
mo- a MOInfo instance.- Throws:
IOException- if the input stream cannot be read.
-
readVariable
- Throws:
IOException
-
readSequence
- Throws:
IOException
-
readIndexedVariables
- Throws:
IOException
-
close
- Throws:
IOException
-