DefaultMOInput
, PropertyMOInput
public interface MOInput
MOInput
models the interface for reading ManagedObject
data into a SNMP4J-Agent in a generic way.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 |
skipContext(Context context) |
|
void |
skipManagedObject(MOInfo mo) |
Skips to the end of the specified managed object's configuration.
|
int getImportMode()
ImportMode
.SerializableManagedObject
to import its content from
persistent storage.Context readContext() throws java.io.IOException
java.io.IOException
void skipContext(Context context) throws java.io.IOException
java.io.IOException
MOInfo readManagedObject() throws java.io.IOException
java.io.IOException
void skipManagedObject(MOInfo mo) throws java.io.IOException
mo
- a MOInfo instance.java.io.IOException
- if the input stream cannot be read.org.snmp4j.smi.Variable readVariable() throws java.io.IOException
java.io.IOException
Sequence readSequence() throws java.io.IOException
java.io.IOException
IndexedVariables readIndexedVariables() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
Copyright © 2018 SNMP4J.org. All rights reserved.