Package org.stellar.sdk.xdr
Class Preconditions
java.lang.Object
org.stellar.sdk.xdr.Preconditions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Preconditionsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, Preconditions encodedPreconditions) booleanstatic PreconditionsfromXdrBase64(String xdr) static PreconditionsfromXdrByteArray(byte[] xdr) getV2()inthashCode()voidsetDiscriminant(PreconditionType value) voidsetTimeBounds(TimeBounds value) voidsetV2(PreconditionsV2 value) byte[]
-
Constructor Details
-
Preconditions
public Preconditions()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getTimeBounds
-
setTimeBounds
-
getV2
-
setV2
-
encode
public static void encode(XdrDataOutputStream stream, Preconditions encodedPreconditions) 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
-