public interface MOInput
MOInput
models the interface for reading ManagedObject
data into a SNMP4J-Agent in a generic way.Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getImportMode()
Returns the update mode, which might be one of the constants defined
by
ImportModes . |
Context |
readContext() |
IndexedVariables |
readIndexedVariables() |
MOInfo |
readManagedObject() |
Sequence |
readSequence() |
org.snmp4j.smi.Variable |
readVariable() |
void |
skipContext(Context context) |
void |
skipManagedObject(MOInfo mo)
Skips to the end of the specified managed object's configuration.
|
int getImportMode()
ImportModes
.SerializableManagedObject
to import its content from
persistent storage.Context readContext() throws IOException
IOException
void skipContext(Context context) throws IOException
IOException
MOInfo readManagedObject() throws IOException
IOException
void skipManagedObject(MOInfo mo) throws IOException
mo
- a MOInfo instance.IOException
- if the input stream cannot be read.org.snmp4j.smi.Variable readVariable() throws IOException
IOException
Sequence readSequence() throws IOException
IOException
IndexedVariables readIndexedVariables() throws IOException
IOException
void close() throws IOException
IOException
Copyright © 2017 SNMP4J.org. All rights reserved.