Class ServiceInstanceDescriptorSeqHelper

java.lang.Object
com.zeroc.IceGrid.ServiceInstanceDescriptorSeqHelper

public final class ServiceInstanceDescriptorSeqHelper extends Object
Helper class for marshaling/unmarshaling ServiceInstanceDescriptorSeq.
  • Constructor Details

    • ServiceInstanceDescriptorSeqHelper

      public ServiceInstanceDescriptorSeqHelper()
  • Method Details

    • write

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

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

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

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