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
IOExceptionvoid skipContext(Context context) throws IOException
IOExceptionMOInfo readManagedObject() throws IOException
IOExceptionvoid skipManagedObject(MOInfo mo) throws IOException
mo - a MOInfo instance.IOException - if the input stream cannot be read.org.snmp4j.smi.Variable readVariable()
throws IOException
IOExceptionSequence readSequence() throws IOException
IOExceptionIndexedVariables readIndexedVariables() throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2020 SNMP4J.org. All rights reserved.