Interface StructureSerializationService


public interface StructureSerializationService
Serialization service.
  • Method Details

    • deSerialize

      Object deSerialize(InputStream inputStream) throws IOException
      Deserializes the InputStream to an NMS handle of DefinedStructure. This call is blocking.
      Parameters:
      inputStream - Opened inputStream. Does not close the stream after processing.
      Returns:
      A new NMS instance of DefinedStructure.
      Throws:
      IOException
    • serialize

      void serialize(Object definedStructure, OutputStream outputStream) throws IOException
      Serializes the NMS handle of DefinedStructure to an OutputStream. This call is blocking.
      Parameters:
      definedStructure - NMS handle.
      outputStream - Opened outputStream. Does not close the stream after processing.
      Throws:
      IOException