Class BaseMessage

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    Message, PresenceMessage

    public class BaseMessage
    extends java.lang.Object
    implements java.lang.Cloneable
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BaseMessage.Serializer  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String clientId
      The id of the publisher of this message
      java.lang.String connectionId
      The connection id of the publisher of this message
      java.lang.Object data
      The message payload.
      java.lang.String encoding
      Any transformation applied to the data for this message
      java.lang.String id
      A unique id for this message
      long timestamp
      The timestamp for this message
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseMessage()  
    • Field Detail

      • id

        public java.lang.String id
        A unique id for this message
      • timestamp

        public long timestamp
        The timestamp for this message
      • clientId

        public java.lang.String clientId
        The id of the publisher of this message
      • connectionId

        public java.lang.String connectionId
        The connection id of the publisher of this message
      • encoding

        public java.lang.String encoding
        Any transformation applied to the data for this message
      • data

        public java.lang.Object data
        The message payload.
    • Constructor Detail

      • BaseMessage

        public BaseMessage()