Class ObjectInfoSeqHelper

java.lang.Object
com.zeroc.IceGrid.ObjectInfoSeqHelper

public final class ObjectInfoSeqHelper extends Object
Helper class for marshaling/unmarshaling ObjectInfoSeq.
  • Constructor Details

    • ObjectInfoSeqHelper

      public ObjectInfoSeqHelper()
  • Method Details

    • write

      public static void write(OutputStream ostr, ObjectInfo[] v)
      Marshals a list of ObjectInfoSeq into an output stream.
      Parameters:
      ostr - the output stream
      v - the list to marshal
    • read

      public static ObjectInfo[] read(InputStream istr)
      Unmarshals a list of ObjectInfoSeq from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the list
    • write

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

      public static Optional<ObjectInfo[]> read(InputStream istr, int tag)
      Unmarshals an optional list of ObjectInfoSeq from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the list