public static class Appendix.Message extends Appendix.AbstractAppendix
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
Constructor and Description |
---|
Message(byte[] message) |
Message(java.lang.String string) |
Message(java.lang.String string,
boolean isText) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMessage() |
Fee |
getNextFee(Transaction transaction) |
int |
getNextFeeHeight() |
boolean |
isText() |
getBaselineFee, getBaselineFeeHeight, getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasAppendix
public Message(byte[] message)
public Message(java.lang.String string)
public Message(java.lang.String string, boolean isText)
public Fee getNextFee(Transaction transaction)
getNextFee
in interface Appendix
getNextFee
in class Appendix.AbstractAppendix
public int getNextFeeHeight()
getNextFeeHeight
in interface Appendix
getNextFeeHeight
in class Appendix.AbstractAppendix
public byte[] getMessage()
public boolean isText()