Class RegistryInfoSeqHelper

java.lang.Object
com.zeroc.IceGrid.RegistryInfoSeqHelper

public final class RegistryInfoSeqHelper extends Object
Helper class for marshaling/unmarshaling RegistryInfoSeq.
  • Constructor Details

    • RegistryInfoSeqHelper

      public RegistryInfoSeqHelper()
  • Method Details

    • write

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

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

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

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