Class AbstractMessage

    • Field Detail

      • id

        protected final String id
    • Constructor Detail

      • AbstractMessage

        public AbstractMessage()
      • AbstractMessage

        protected AbstractMessage​(String id)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface Message
        Returns:
        the unique id of this message. Each message generates a random id when it is created.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object