Class TopicDictHelper

java.lang.Object
com.zeroc.IceStorm.TopicDictHelper

public final class TopicDictHelper extends Object
Helper class for marshaling/unmarshaling TopicDict.
  • Constructor Details

    • TopicDictHelper

      public TopicDictHelper()
  • Method Details

    • write

      public static void write(OutputStream ostr, Map<String,TopicPrx> v)
      Marshals a dictionary of TopicDict into an output stream.
      Parameters:
      ostr - the output stream
      v - the dictionary to marshal
    • read

      public static Map<String,TopicPrx> read(InputStream istr)
      Unmarshals a dictionary of TopicDict from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the dictionary
    • write

      public static void write(OutputStream ostr, int tag, Optional<Map<String,TopicPrx>> v)
      Marshals an optional dictionary of TopicDict into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the dictionary to marshal
    • write

      public static void write(OutputStream ostr, int tag, Map<String,TopicPrx> v)
      Marshals an optional dictionary of TopicDict into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the dictionary to marshal
    • read

      public static Optional<Map<String,TopicPrx>> read(InputStream istr, int tag)
      Unmarshals an optional dictionary of TopicDict from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the dictionary