Package nxt
Class Appendix.AbstractAppendix
- java.lang.Object
-
- nxt.Appendix.AbstractAppendix
-
- All Implemented Interfaces:
Appendix
- Direct Known Subclasses:
Appendix.AbstractEncryptedMessage
,Appendix.Message
,Appendix.Phasing
,Appendix.PrunableEncryptedMessage
,Appendix.PrunablePlainMessage
,Appendix.PublicKeyAnnouncement
,Attachment.AbstractAttachment
- Enclosing interface:
- Appendix
public abstract static class Appendix.AbstractAppendix extends java.lang.Object implements Appendix
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nxt.Appendix
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fee
getBaselineFee(Transaction transaction)
int
getBaselineFeeHeight()
int
getFullSize()
org.json.simple.JSONObject
getJSONObject()
Fee
getNextFee(Transaction transaction)
int
getNextFeeHeight()
int
getSize()
byte
getVersion()
boolean
isPhased(Transaction transaction)
void
putBytes(java.nio.ByteBuffer buffer)
-
-
-
Method Detail
-
getFullSize
public final int getFullSize()
- Specified by:
getFullSize
in interfaceAppendix
-
putBytes
public final void putBytes(java.nio.ByteBuffer buffer)
-
getJSONObject
public final org.json.simple.JSONObject getJSONObject()
- Specified by:
getJSONObject
in interfaceAppendix
-
getVersion
public final byte getVersion()
- Specified by:
getVersion
in interfaceAppendix
-
getBaselineFeeHeight
public int getBaselineFeeHeight()
- Specified by:
getBaselineFeeHeight
in interfaceAppendix
-
getBaselineFee
public Fee getBaselineFee(Transaction transaction)
- Specified by:
getBaselineFee
in interfaceAppendix
-
getNextFeeHeight
public int getNextFeeHeight()
- Specified by:
getNextFeeHeight
in interfaceAppendix
-
getNextFee
public Fee getNextFee(Transaction transaction)
- Specified by:
getNextFee
in interfaceAppendix
-
isPhased
public final boolean isPhased(Transaction transaction)
-
-