Class MessageKey

    • Constructor Detail

      • MessageKey

        public MessageKey​(EntityAddr entityAddr,
                          Digest entityAddrHash,
                          java.lang.Long messageIndex,
                          Digest topicHash)
      • MessageKey

        public MessageKey()
    • Method Detail

      • getMessageIndex

        public java.util.Optional<java.lang.Long> getMessageIndex()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Key
      • fromStringCustom

        protected void fromStringCustom​(java.lang.String strKey)
        Overrides:
        fromStringCustom in class Key
      • getEntityAddr

        public EntityAddr getEntityAddr()
        The entity addr.
      • getEntityAddrHash

        public Digest getEntityAddrHash()
        The hash of the entity address.
      • getTopicHash

        public Digest getTopicHash()
        The hash of the name of the message topic.
      • setEntityAddr

        public void setEntityAddr​(EntityAddr entityAddr)
        The entity addr.
      • setEntityAddrHash

        public void setEntityAddrHash​(Digest entityAddrHash)
        The hash of the entity address.
      • setMessageIndex

        public void setMessageIndex​(java.lang.Long messageIndex)
        The optional message index.
      • setTopicHash

        public void setTopicHash​(Digest topicHash)
        The hash of the name of the message topic.