Class ApplicationDescriptorSeqHelper

java.lang.Object
com.zeroc.IceGrid.ApplicationDescriptorSeqHelper

public final class ApplicationDescriptorSeqHelper extends Object
Helper class for marshaling/unmarshaling ApplicationDescriptorSeq.
  • Constructor Details

    • ApplicationDescriptorSeqHelper

      public ApplicationDescriptorSeqHelper()
  • Method Details

    • write

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

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

      public static void write(OutputStream ostr, int tag, Optional<List<ApplicationDescriptor>> v)
      Marshals an optional list of ApplicationDescriptorSeq 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<ApplicationDescriptor> v)
      Marshals an optional list of ApplicationDescriptorSeq into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the list to marshal
    • read

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