Package org.stellar.sdk.xdr
Class TransactionEvent
java.lang.Object
org.stellar.sdk.xdr.TransactionEvent
- All Implemented Interfaces:
XdrElement
TransactionEvent's original definition in the XDR file is:
struct TransactionEvent {
TransactionEventStage stage; // Stage at which an event has occurred.
ContractEvent event; // The contract event that has occurred.
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionEventdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionEventfromXdrBase64(String xdr) static TransactionEventfromXdrByteArray(byte[] xdr) getEvent()getStage()inthashCode()voidsetEvent(ContractEvent event) voidsetStage(TransactionEventStage stage) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionEvent
public TransactionEvent() -
TransactionEvent
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getStage
-
getEvent
-
setStage
-
setEvent
-
equals
-
hashCode
public int hashCode() -
toString
-