Package org.stellar.sdk.xdr
Class ContractEvent.ContractEventBody.ContractEventV0
java.lang.Object
org.stellar.sdk.xdr.ContractEvent.ContractEventBody.ContractEventV0
- All Implemented Interfaces:
XdrElement
- Enclosing class:
ContractEvent.ContractEventBody
public static class ContractEvent.ContractEventBody.ContractEventV0
extends Object
implements XdrElement
ContractEventV0's original definition in the XDR file is:
struct
{
SCVal topics<>;
SCVal data;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getData()SCVal[]inthashCode()voidvoidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ContractEventV0
public ContractEventV0() -
ContractEventV0
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
public static ContractEvent.ContractEventBody.ContractEventV0 decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static ContractEvent.ContractEventBody.ContractEventV0 fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static ContractEvent.ContractEventBody.ContractEventV0 fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getTopics
-
getData
-
setTopics
-
setData
-
equals
-
hashCode
public int hashCode() -
toString
-