public final class PrunableMessage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] sharedKey) |
byte[] |
decrypt(java.lang.String secretPhrase) |
boolean |
encryptedMessageIsText() |
static DbIterator<PrunableMessage> |
getAll(int from,
int to) |
int |
getBlockTimestamp() |
static int |
getCount() |
EncryptedData |
getEncryptedData() |
int |
getHeight() |
long |
getId() |
byte[] |
getMessage() |
static PrunableMessage |
getPrunableMessage(long transactionId) |
static DbIterator<PrunableMessage> |
getPrunableMessages(long accountId,
int from,
int to) |
static DbIterator<PrunableMessage> |
getPrunableMessages(long accountId,
long otherAccountId,
int from,
int to) |
long |
getRecipientId() |
long |
getSenderId() |
int |
getTransactionTimestamp() |
boolean |
isCompressed() |
boolean |
messageIsText() |
public static int getCount()
public static DbIterator<PrunableMessage> getAll(int from, int to)
public static PrunableMessage getPrunableMessage(long transactionId)
public static DbIterator<PrunableMessage> getPrunableMessages(long accountId, int from, int to)
public static DbIterator<PrunableMessage> getPrunableMessages(long accountId, long otherAccountId, int from, int to)
public byte[] getMessage()
public EncryptedData getEncryptedData()
public boolean messageIsText()
public boolean encryptedMessageIsText()
public boolean isCompressed()
public long getId()
public long getSenderId()
public long getRecipientId()
public int getTransactionTimestamp()
public int getBlockTimestamp()
public int getHeight()
public byte[] decrypt(java.lang.String secretPhrase)
public byte[] decrypt(byte[] sharedKey)