Class Message.Batch

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String[] channels
      An array of channel names to publish messages to.
      Message[] messages
      An array of Message objects to publish.
    • Constructor Summary

      Constructors 
      Constructor Description
      Batch​(java.lang.String[] channels, Message[] messages)  
      Batch​(java.lang.String channel, Message[] messages)  
      Batch​(java.util.Collection<java.lang.String> channels, java.util.Collection<Message> messages)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeMsgpack​(org.msgpack.core.MessagePacker packer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • channels

        public java.lang.String[] channels
        An array of channel names to publish messages to.
      • messages

        public Message[] messages
        An array of Message objects to publish.
    • Constructor Detail

      • Batch

        public Batch​(java.lang.String channel,
                     Message[] messages)
      • Batch

        public Batch​(java.lang.String[] channels,
                     Message[] messages)
      • Batch

        public Batch​(java.util.Collection<java.lang.String> channels,
                     java.util.Collection<Message> messages)
    • Method Detail

      • writeMsgpack

        public void writeMsgpack​(org.msgpack.core.MessagePacker packer)
                          throws java.io.IOException
        Throws:
        java.io.IOException