Interface SerializableManagedObject

    • Method Detail

      • load

        void load​(MOInput input)
           throws java.io.IOException
        Loads the content of the managed object from the specified input (stream).
        Parameters:
        input - a MOInput instance.
        Throws:
        java.io.IOException - if an MOInput operation fails.
      • save

        void save​(MOOutput output)
           throws java.io.IOException
        Saves the (non-volatile) content of this managed object to the specified output (stream).
        Parameters:
        output - a MOOutput instance.
        Throws:
        java.io.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 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.