Constructor | Description |
---|---|
DefaultMOInput(java.io.ObjectInputStream ois) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
int |
getImportMode() |
Returns the update mode, which might be one of the constants defined
by
ImportMode . |
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 int getImportMode()
MOInput
ImportMode
.getImportMode
in interface MOInput
SerializableManagedObject
to import its content from
persistent storage.public Context readContext() throws java.io.IOException
readContext
in interface MOInput
java.io.IOException
public IndexedVariables readIndexedVariables() throws java.io.IOException
readIndexedVariables
in interface MOInput
java.io.IOException
public MOInfo readManagedObject() throws java.io.IOException
readManagedObject
in interface MOInput
java.io.IOException
public Sequence readSequence() throws java.io.IOException
readSequence
in interface MOInput
java.io.IOException
public org.snmp4j.smi.Variable readVariable() throws java.io.IOException
readVariable
in interface MOInput
java.io.IOException
public void skipContext(Context context) throws java.io.IOException
skipContext
in interface MOInput
java.io.IOException
public void skipManagedObject(MOInfo moInfo) throws java.io.IOException
MOInput
skipManagedObject
in interface MOInput
moInfo
- a MOInfo instance.java.io.IOException
- if the input stream cannot be read.public void setOverwriteMode(int importMode)
Copyright © 2018 SNMP4J.org. All rights reserved.