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 SCPHistoryEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCPHistoryEntryfromXdrBase64(String xdr) static SCPHistoryEntryfromXdrByteArray(byte[] xdr) getV0()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCPHistoryEntry
public SCPHistoryEntry() -
SCPHistoryEntry
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-