Class ObjectDescriptorSeqHelper

java.lang.Object
com.zeroc.IceGrid.ObjectDescriptorSeqHelper

public final class ObjectDescriptorSeqHelper extends Object
Helper class for marshaling/unmarshaling ObjectDescriptorSeq.
  • Constructor Details

    • ObjectDescriptorSeqHelper

      public ObjectDescriptorSeqHelper()
  • Method Details

    • write

      public static void write(OutputStream ostr, List<ObjectDescriptor> v)
      Marshals a list of ObjectDescriptorSeq into an output stream.
      Parameters:
      ostr - the output stream
      v - the list to marshal
    • read

      public static List<ObjectDescriptor> read(InputStream istr)
      Unmarshals a list of ObjectDescriptorSeq from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the list
    • write

      public static void write(OutputStream ostr, int tag, Optional<List<ObjectDescriptor>> v)
      Marshals an optional list of ObjectDescriptorSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • write

      public static void write(OutputStream ostr, int tag, List<ObjectDescriptor> v)
      Marshals an optional list of ObjectDescriptorSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • read

      public static Optional<List<ObjectDescriptor>> read(InputStream istr, int tag)
      Unmarshals an optional list of ObjectDescriptorSeq from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the list