Package nxt

Class PrunableMessage


  • public final class PrunableMessage
    extends java.lang.Object
    • Method Detail

      • getCount

        public static int getCount()
      • getPrunableMessage

        public static PrunableMessage getPrunableMessage​(long transactionId)
      • getPrunableMessages

        public static DbIterator<PrunableMessage> getPrunableMessages​(long accountId,
                                                                      int from,
                                                                      int to)
      • getPrunableMessages

        public static DbIterator<PrunableMessage> getPrunableMessages​(long accountId,
                                                                      long otherAccountId,
                                                                      int from,
                                                                      int to)
      • getMessage

        public byte[] getMessage()
      • messageIsText

        public boolean messageIsText()
      • encryptedMessageIsText

        public boolean encryptedMessageIsText()
      • isCompressed

        public boolean isCompressed()
      • getId

        public long getId()
      • getSenderId

        public long getSenderId()
      • getRecipientId

        public long getRecipientId()
      • getTransactionTimestamp

        public int getTransactionTimestamp()
      • getBlockTimestamp

        public int getBlockTimestamp()
      • getHeight

        public int getHeight()
      • decrypt

        public byte[] decrypt​(java.lang.String secretPhrase)
      • decrypt

        public byte[] decrypt​(byte[] sharedKey)