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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static GeneralizedTransactionSetdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic GeneralizedTransactionSetfromXdrBase64(String xdr) static GeneralizedTransactionSetfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(Integer discriminant) voidsetV1TxSet(TransactionSetV1 v1TxSet) toString()default Stringdefault 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
-