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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classContractEventV0's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionContractEventBody(Integer discriminant, ContractEvent.ContractEventBody.ContractEventV0 v0) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getV0()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()default Stringdefault 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
-