Class DefaultMOOutput

  • All Implemented Interfaces:
    MOOutput

    public class DefaultMOOutput
    extends java.lang.Object
    implements MOOutput
    • Constructor Detail

      • DefaultMOOutput

        public DefaultMOOutput​(java.io.ObjectOutputStream os)
    • Method Detail

      • writeContextBegin

        public void writeContextBegin​(Context context)
                               throws java.io.IOException
        Specified by:
        writeContextBegin in interface MOOutput
        Throws:
        java.io.IOException
      • writeContextEnd

        public void writeContextEnd​(Context context)
                             throws java.io.IOException
        Specified by:
        writeContextEnd in interface MOOutput
        Throws:
        java.io.IOException
      • writeManagedObjectBegin

        public void writeManagedObjectBegin​(MOInfo mo)
                                     throws java.io.IOException
        Specified by:
        writeManagedObjectBegin in interface MOOutput
        Throws:
        java.io.IOException
      • writeManagedObjectEnd

        public void writeManagedObjectEnd​(MOInfo mo)
                                   throws java.io.IOException
        Specified by:
        writeManagedObjectEnd in interface MOOutput
        Throws:
        java.io.IOException
      • writeSequence

        public void writeSequence​(Sequence sequence)
                           throws java.io.IOException
        Specified by:
        writeSequence in interface MOOutput
        Throws:
        java.io.IOException
      • writeVariable

        public void writeVariable​(org.snmp4j.smi.Variable variable)
                           throws java.io.IOException
        Specified by:
        writeVariable in interface MOOutput
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface MOOutput
        Throws:
        java.io.IOException