public class EncryptedMessageAppendix extends Appendix.AbstractAppendix
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
appendixName |
static Appendix.Parser |
appendixParser |
static int |
appendixType |
| Constructor and Description |
|---|
EncryptedMessageAppendix(EncryptedData encryptedData,
boolean isText,
boolean isCompressed) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Transaction transaction,
Account senderAccount,
Account recipientAccount) |
java.lang.String |
getAppendixName() |
int |
getAppendixType() |
Fee |
getBaselineFee(Transaction transaction) |
EncryptedData |
getEncryptedData() |
protected int |
getMySize() |
boolean |
isAllowed(Chain chain) |
boolean |
isCompressed() |
boolean |
isPhasable() |
boolean |
isText() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject json) |
void |
validate(Transaction transaction) |
getBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, validateId, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAppendixpublic static final int appendixType
public static final java.lang.String appendixName
public static final Appendix.Parser appendixParser
public EncryptedMessageAppendix(EncryptedData encryptedData, boolean isText, boolean isCompressed)
public int getAppendixType()
public final java.lang.String getAppendixName()
getAppendixName in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject json)
public void validate(Transaction transaction) throws NxtException.ValidationException
NxtException.ValidationExceptionprotected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixpublic Fee getBaselineFee(Transaction transaction)
getBaselineFee in interface AppendixgetBaselineFee in class Appendix.AbstractAppendixpublic void apply(Transaction transaction, Account senderAccount, Account recipientAccount)
apply in class Appendix.AbstractAppendixpublic final EncryptedData getEncryptedData()
public final boolean isText()
public final boolean isCompressed()
public final boolean isPhasable()
isPhasable in class Appendix.AbstractAppendixpublic boolean isAllowed(Chain chain)