Class ProtocolMessage


  • public class ProtocolMessage
    extends java.lang.Object
    A message sent and received over the Realtime protocol. A ProtocolMessage always relates to a single channel only, but can contain multiple individual Messages or PresenceMessages. ProtocolMessages are serially numbered on a connection. See the Ably client library developer documentation for further details on the members of a ProtocolMessage.
    • Field Detail

      • flags

        public int flags
      • count

        public int count
      • id

        public java.lang.String id
      • channel

        public java.lang.String channel
      • channelSerial

        public java.lang.String channelSerial
      • connectionId

        public java.lang.String connectionId
      • connectionSerial

        public java.lang.Long connectionSerial
      • msgSerial

        public java.lang.Long msgSerial
      • timestamp

        public long timestamp
      • messages

        public Message[] messages
      • params

        public java.util.Map<java.lang.String,​java.lang.String> params