- java.lang.Object
-
- org.snmp4j.agent.io.DefaultMOOutput
-
-
Constructor Summary
Constructors Constructor Description DefaultMOOutput(ObjectOutputStream os)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
writeContextBegin(Context context)
void
writeContextEnd(Context context)
void
writeIndexedVariables(IndexedVariables indexedVariables)
void
writeManagedObjectBegin(MOInfo mo)
void
writeManagedObjectEnd(MOInfo mo)
void
writeSequence(Sequence sequence)
void
writeVariable(org.snmp4j.smi.Variable variable)
-
-
-
Constructor Detail
-
DefaultMOOutput
public DefaultMOOutput(ObjectOutputStream os)
-
-
Method Detail
-
writeContextBegin
public void writeContextBegin(Context context) throws IOException
- Specified by:
writeContextBegin
in interfaceMOOutput
- Throws:
IOException
-
writeContextEnd
public void writeContextEnd(Context context) throws IOException
- Specified by:
writeContextEnd
in interfaceMOOutput
- Throws:
IOException
-
writeIndexedVariables
public void writeIndexedVariables(IndexedVariables indexedVariables) throws IOException
- Specified by:
writeIndexedVariables
in interfaceMOOutput
- Throws:
IOException
-
writeManagedObjectBegin
public void writeManagedObjectBegin(MOInfo mo) throws IOException
- Specified by:
writeManagedObjectBegin
in interfaceMOOutput
- Throws:
IOException
-
writeManagedObjectEnd
public void writeManagedObjectEnd(MOInfo mo) throws IOException
- Specified by:
writeManagedObjectEnd
in interfaceMOOutput
- Throws:
IOException
-
writeSequence
public void writeSequence(Sequence sequence) throws IOException
- Specified by:
writeSequence
in interfaceMOOutput
- Throws:
IOException
-
writeVariable
public void writeVariable(org.snmp4j.smi.Variable variable) throws IOException
- Specified by:
writeVariable
in interfaceMOOutput
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceMOOutput
- Throws:
IOException
-
-