Package org.stellar.sdk.xdr
Class StoredTransactionSet
java.lang.Object
org.stellar.sdk.xdr.StoredTransactionSet
StoredTransactionSet's original definition in the XDR file is:
union StoredTransactionSet switch (int v)
{
case 0:
TransactionSet txSet;
case 1:
GeneralizedTransactionSet generalizedTxSet;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStoredTransactionSet(Integer discriminant, TransactionSet txSet, GeneralizedTransactionSet generalizedTxSet) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static StoredTransactionSetdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic StoredTransactionSetfromXdrBase64(String xdr) static StoredTransactionSetfromXdrByteArray(byte[] xdr) getTxSet()inthashCode()voidsetDiscriminant(Integer discriminant) voidsetGeneralizedTxSet(GeneralizedTransactionSet generalizedTxSet) voidsetTxSet(TransactionSet txSet) toString()default Stringdefault byte[]
-
Constructor Details
-
StoredTransactionSet
public StoredTransactionSet() -
StoredTransactionSet
public StoredTransactionSet(Integer discriminant, TransactionSet txSet, GeneralizedTransactionSet generalizedTxSet)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getTxSet
-
getGeneralizedTxSet
-
setDiscriminant
-
setTxSet
-
setGeneralizedTxSet
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-