Package org.stellar.sdk.xdr
Class GeneralizedTransactionSet
java.lang.Object
org.stellar.sdk.xdr.GeneralizedTransactionSet
- All Implemented Interfaces:
XdrElement
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 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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
GeneralizedTransactionSet
public GeneralizedTransactionSet() -
GeneralizedTransactionSet
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1TxSet
-
setDiscriminant
-
setV1TxSet
-
equals
-
hashCode
public int hashCode() -
toString
-