Package org.stellar.sdk.xdr
Class StoredDebugTransactionSet
java.lang.Object
org.stellar.sdk.xdr.StoredDebugTransactionSet
- All Implemented Interfaces:
XdrElement
StoredDebugTransactionSet's original definition in the XDR file is:
struct StoredDebugTransactionSet
{
StoredTransactionSet txSet;
uint32 ledgerSeq;
StellarValue scpValue;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionStoredDebugTransactionSet(StoredTransactionSet txSet, Uint32 ledgerSeq, StellarValue scpValue) Creates a newStoredDebugTransactionSetinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static StoredDebugTransactionSetdecode(XdrDataInputStream stream) static StoredDebugTransactionSetdecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic StoredDebugTransactionSetstatic StoredDebugTransactionSetfromXdrBase64(String xdr) static StoredDebugTransactionSetfromXdrByteArray(byte[] xdr) Value of theledgerSeqfield.Value of thescpValuefield.getTxSet()Value of thetxSetfield.inthashCode()voidsetLedgerSeq(Uint32 ledgerSeq) Value of theledgerSeqfield.voidsetScpValue(StellarValue scpValue) Value of thescpValuefield.voidsetTxSet(StoredTransactionSet txSet) Value of thetxSetfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
StoredDebugTransactionSet
public StoredDebugTransactionSet() -
StoredDebugTransactionSet
public StoredDebugTransactionSet(StoredTransactionSet txSet, Uint32 ledgerSeq, StellarValue scpValue) Creates a newStoredDebugTransactionSetinstance.- Parameters:
txSet- thetxSetfield valueledgerSeq- theledgerSeqfield valuescpValue- thescpValuefield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
public static StoredDebugTransactionSet decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getTxSet
Value of thetxSetfield.- Returns:
- the
txSetfield value
-
getLedgerSeq
Value of theledgerSeqfield.- Returns:
- the
ledgerSeqfield value
-
getScpValue
Value of thescpValuefield.- Returns:
- the
scpValuefield value
-
setTxSet
Value of thetxSetfield.- Parameters:
txSet- thetxSetfield value
-
setLedgerSeq
Value of theledgerSeqfield.- Parameters:
ledgerSeq- theledgerSeqfield value
-
setScpValue
Value of thescpValuefield.- Parameters:
scpValue- thescpValuefield value
-
equals
-
hashCode
public int hashCode() -
toString
-