Package org.stellar.sdk.xdr
Class PreconditionsV2
java.lang.Object
org.stellar.sdk.xdr.PreconditionsV2
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PreconditionsV2decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PreconditionsV2 encodedPreconditionsV2) booleanstatic PreconditionsV2fromXdrBase64(String xdr) static PreconditionsV2fromXdrByteArray(byte[] xdr) inthashCode()voidsetExtraSigners(SignerKey[] value) voidsetLedgerBounds(LedgerBounds value) voidsetMinSeqAge(Duration value) voidsetMinSeqLedgerGap(Uint32 value) voidsetMinSeqNum(SequenceNumber value) voidsetTimeBounds(TimeBounds value) byte[]
-
Constructor Details
-
PreconditionsV2
public PreconditionsV2()
-
-
Method Details
-
getTimeBounds
-
setTimeBounds
-
getLedgerBounds
-
setLedgerBounds
-
getMinSeqNum
-
setMinSeqNum
-
getMinSeqAge
-
setMinSeqAge
-
getMinSeqLedgerGap
-
setMinSeqLedgerGap
-
getExtraSigners
-
setExtraSigners
-
encode
public static void encode(XdrDataOutputStream stream, PreconditionsV2 encodedPreconditionsV2) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-