Class AdapterInfoSeqHelper

java.lang.Object
com.zeroc.IceGrid.AdapterInfoSeqHelper

public final class AdapterInfoSeqHelper extends Object
Helper class for marshaling/unmarshaling AdapterInfoSeq.
  • Constructor Details

    • AdapterInfoSeqHelper

      public AdapterInfoSeqHelper()
  • Method Details

    • write

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

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

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

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