| Constructor and Description |
|---|
DefaultMOInput(ObjectInputStream ois) |
| 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 |
setOverwriteMode(int importMode) |
void |
skipContext(Context context) |
void |
skipManagedObject(MOInfo moInfo)
Skips to the end of the specified managed object's configuration.
|
public DefaultMOInput(ObjectInputStream ois)
public int getImportMode()
MOInputImportModes.getImportMode in interface MOInputSerializableManagedObject to import its content from
persistent storage.public Context readContext() throws IOException
readContext in interface MOInputIOExceptionpublic IndexedVariables readIndexedVariables() throws IOException
readIndexedVariables in interface MOInputIOExceptionpublic MOInfo readManagedObject() throws IOException
readManagedObject in interface MOInputIOExceptionpublic Sequence readSequence() throws IOException
readSequence in interface MOInputIOExceptionpublic org.snmp4j.smi.Variable readVariable()
throws IOException
readVariable in interface MOInputIOExceptionpublic void skipContext(Context context) throws IOException
skipContext in interface MOInputIOExceptionpublic void skipManagedObject(MOInfo moInfo) throws IOException
MOInputskipManagedObject in interface MOInputmoInfo - a MOInfo instance.IOException - if the input stream cannot be read.public void setOverwriteMode(int importMode)
public void close()
throws IOException
close in interface MOInputIOExceptionCopyright © 2020 SNMP4J.org. All rights reserved.