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 FeegetBaselineFee(Transaction transaction)intgetBaselineFeeHeight()intgetFullSize()org.json.simple.JSONObjectgetJSONObject()FeegetNextFee(Transaction transaction)intgetNextFeeHeight()intgetSize()bytegetVersion()booleanisPhased(Transaction transaction)voidputBytes(java.nio.ByteBuffer buffer)
-
-
-
Method Detail
-
getFullSize
public final int getFullSize()
- Specified by:
getFullSizein interfaceAppendix
-
putBytes
public final void putBytes(java.nio.ByteBuffer buffer)
-
getJSONObject
public final org.json.simple.JSONObject getJSONObject()
- Specified by:
getJSONObjectin interfaceAppendix
-
getVersion
public final byte getVersion()
- Specified by:
getVersionin interfaceAppendix
-
getBaselineFeeHeight
public int getBaselineFeeHeight()
- Specified by:
getBaselineFeeHeightin interfaceAppendix
-
getBaselineFee
public Fee getBaselineFee(Transaction transaction)
- Specified by:
getBaselineFeein interfaceAppendix
-
getNextFeeHeight
public int getNextFeeHeight()
- Specified by:
getNextFeeHeightin interfaceAppendix
-
getNextFee
public Fee getNextFee(Transaction transaction)
- Specified by:
getNextFeein interfaceAppendix
-
isPhased
public final boolean isPhased(Transaction transaction)
-
-