Package org.stellar.sdk.xdr
Class ContractEvent.ContractEventBody
java.lang.Object
org.stellar.sdk.xdr.ContractEvent.ContractEventBody
- Enclosing class:
ContractEvent
ContractEventBody's original definition in the XDR file is:
union switch (int v) { case 0: struct { SCVal topics<>; SCVal data; } v0; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
ContractEventV0's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionContractEventBody
(Integer discriminant, ContractEvent.ContractEventBody.ContractEventV0 v0) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getV0()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
ContractEventBody
public ContractEventBody() -
ContractEventBody
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-