Package org.stellar.sdk.xdr
Class TransactionPhase
java.lang.Object
org.stellar.sdk.xdr.TransactionPhase
- All Implemented Interfaces:
XdrElement
TransactionPhase's original definition in the XDR file is:
union TransactionPhase switch (int v)
{
case 0:
TxSetComponent v0Components<>;
case 1:
ParallelTxsComponent parallelTxsComponent;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTransactionPhase(Integer discriminant, TxSetComponent[] v0Components, ParallelTxsComponent parallelTxsComponent) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionPhasedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionPhasefromXdrBase64(String xdr) static TransactionPhasefromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(Integer discriminant) voidsetParallelTxsComponent(ParallelTxsComponent parallelTxsComponent) voidsetV0Components(TxSetComponent[] v0Components) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionPhase
public TransactionPhase() -
TransactionPhase
public TransactionPhase(Integer discriminant, TxSetComponent[] v0Components, ParallelTxsComponent parallelTxsComponent)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0Components
-
getParallelTxsComponent
-
setDiscriminant
-
setV0Components
-
setParallelTxsComponent
-
equals
-
hashCode
public int hashCode() -
toString
-