Package org.snmp4j.agent
Interface SerializableManagedObject
- All Superinterfaces:
ManagedObject
,RegisteredManagedObject
- All Known Implementing Classes:
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
,SNMPv2MIB.SysOREntry
,SNMPv2MIB.SysUpTimeImpl
,TestAndIncr
,TimeStampScalar
The
SerializableManagedObject
interface is implemented by
ManagedObject
s whose (data) content can be serialized
using MOInput
and MOOutput
.- Version:
- 1.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests if this instance of a SerializableManagedObject should be serialized or deserialized through persistent storage load or save operation.void
Loads the content of the managed object from the specified input (stream).void
Saves the (non-volatile) content of this managed object to the specified output (stream).Methods inherited from interface org.snmp4j.agent.ManagedObject
cleanup, commit, find, get, getScope, next, prepare, undo
Methods inherited from interface org.snmp4j.agent.RegisteredManagedObject
getID
-
Method Details
-
load
Loads the content of the managed object from the specified input (stream).- Parameters:
input
- aMOInput
instance.- Throws:
IOException
- if an MOInput operation fails.
-
save
Saves the (non-volatile) content of this managed object to the specified output (stream).- Parameters:
output
- aMOOutput
instance.- Throws:
IOException
- if an MOOutput operation fails.
-
isVolatile
boolean isVolatile()Tests if this instance of a SerializableManagedObject should be serialized or deserialized through persistent storage load or save operation.- Returns:
true
ifload(org.snmp4j.agent.io.MOInput)
andsave(org.snmp4j.agent.io.MOOutput)
should not be called through a persistent storage operation andfalse
if these method should be called.
-