Package org.stellar.sdk.xdr
Class LedgerCloseMeta
java.lang.Object
org.stellar.sdk.xdr.LedgerCloseMeta
LedgerCloseMeta's original definition in the XDR file is:
union LedgerCloseMeta switch (int v)
{
case 0:
LedgerCloseMetaV0 v0;
case 1:
LedgerCloseMetaV1 v1;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLedgerCloseMeta(Integer discriminant, LedgerCloseMetaV0 v0, LedgerCloseMetaV1 v1) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerCloseMetadecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerCloseMetafromXdrBase64(String xdr) static LedgerCloseMetafromXdrByteArray(byte[] xdr) getV0()getV1()inthashCode()voidsetDiscriminant(Integer discriminant) voidvoidtoString()default Stringdefault byte[]
-
Constructor Details
-
LedgerCloseMeta
public LedgerCloseMeta() -
LedgerCloseMeta
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
getV1
-
setDiscriminant
-
setV0
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-