Package org.stellar.sdk.xdr
Class SCPHistoryEntry
java.lang.Object
org.stellar.sdk.xdr.SCPHistoryEntry
- All Implemented Interfaces:
XdrElement
SCPHistoryEntry's original definition in the XDR file is:
union SCPHistoryEntry switch (int v) { case 0: SCPHistoryEntryV0 v0; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCPHistoryEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPHistoryEntry
fromXdrBase64
(String xdr) static SCPHistoryEntry
fromXdrByteArray
(byte[] xdr) getV0()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCPHistoryEntry
public SCPHistoryEntry() -
SCPHistoryEntry
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-