Package org.stellar.sdk.xdr
Class GeneralizedTransactionSet
java.lang.Object
org.stellar.sdk.xdr.GeneralizedTransactionSet
GeneralizedTransactionSet's original definition in the XDR file is:
union GeneralizedTransactionSet switch (int v) { // We consider the legacy TransactionSet to be v0. case 1: TransactionSetV1 v1TxSet; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static GeneralizedTransactionSet
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static GeneralizedTransactionSet
fromXdrBase64
(String xdr) static GeneralizedTransactionSet
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(Integer discriminant) void
setV1TxSet
(TransactionSetV1 v1TxSet) toString()
default String
default byte[]
-
Constructor Details
-
GeneralizedTransactionSet
public GeneralizedTransactionSet() -
GeneralizedTransactionSet
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1TxSet
-
setDiscriminant
-
setV1TxSet
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-