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()
MOInput
ImportModes
.getImportMode
in interface MOInput
SerializableManagedObject
to import its content from
persistent storage.public Context readContext() throws IOException
readContext
in interface MOInput
IOException
public IndexedVariables readIndexedVariables() throws IOException
readIndexedVariables
in interface MOInput
IOException
public MOInfo readManagedObject() throws IOException
readManagedObject
in interface MOInput
IOException
public Sequence readSequence() throws IOException
readSequence
in interface MOInput
IOException
public org.snmp4j.smi.Variable readVariable() throws IOException
readVariable
in interface MOInput
IOException
public void skipContext(Context context) throws IOException
skipContext
in interface MOInput
IOException
public void skipManagedObject(MOInfo moInfo) throws IOException
MOInput
skipManagedObject
in interface MOInput
moInfo
- a MOInfo instance.IOException
- if the input stream cannot be read.public void setOverwriteMode(int importMode)
public void close() throws IOException
close
in interface MOInput
IOException
Copyright © 2018 SNMP4J.org. All rights reserved.