ManagedObject
, RegisteredManagedObject
AgentppSimulationMib.AgentppSimDeleteRow
, AgentppSimulationMib.AgentppSimDeleteTableContents
, AgentppSimulationMib.AgentppSimMode
, DateAndTimeScalar
, DefaultMOTable
, DisplayStringScalar
, EnumeratedScalar
, MOScalar
, NotificationLogMib.NlmConfigGlobalAgeOut
, NotificationLogMib.NlmConfigGlobalEntryLimit
, Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation
, Snmp4jDemoMib.Snmp4jDemoScalar
, Snmp4jDemoMib.Snmp4jDemoSparseTableType
, Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
, SnmpTsmMib.SnmpTsmConfigurationUsePrefix
, SnmpUsmDhObjectsMib.UsmDHParameters
, SNMPv2MIB.SysOREntry
, SNMPv2MIB.SysUpTimeImpl
, TestAndIncr
, TimeStampScalar
, UsmDHParametersImpl
public interface SerializableManagedObject extends RegisteredManagedObject
SerializableManagedObject
interface is implemented by
ManagedObject
s whose (data) content can be serialized
using MOInput
and MOOutput
.Modifier and Type | Method | Description |
---|---|---|
boolean |
isVolatile() |
Tests if this instance of a SerializableManagedObject should be
serialized or deserialized through persistent storage
load or save operation.
|
void |
load(MOInput input) |
Loads the content of the managed object from the specified input (stream).
|
void |
save(MOOutput output) |
Saves the (non-volatile) content of this managed object to the specified
output (stream).
|
cleanup, commit, find, get, getScope, next, prepare, undo
getID
void load(MOInput input) throws java.io.IOException
input
- a MOInput
instance.java.io.IOException
- if an MOInput operation fails.void save(MOOutput output) throws java.io.IOException
output
- a MOOutput
instance.java.io.IOException
- if an MOOutput operation fails.boolean isVolatile()
true
if load(org.snmp4j.agent.io.MOInput)
and save(org.snmp4j.agent.io.MOOutput)
should not be
called through a persistent storage operation and false
if these method should be called.Copyright © 2018 SNMP4J.org. All rights reserved.