Package org.stellar.sdk.xdr
Class SCEnvMetaEntry
java.lang.Object
org.stellar.sdk.xdr.SCEnvMetaEntry
SCEnvMetaEntry's original definition in the XDR file is:
union SCEnvMetaEntry switch (SCEnvMetaKind kind) { case SC_ENV_META_KIND_INTERFACE_VERSION: struct { uint32 protocol; uint32 preRelease; } interfaceVersion; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
SCEnvMetaEntryInterfaceVersion's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionSCEnvMetaEntry
(SCEnvMetaKind discriminant, SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCEnvMetaEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCEnvMetaEntry
fromXdrBase64
(String xdr) static SCEnvMetaEntry
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(SCEnvMetaKind discriminant) void
setInterfaceVersion
(SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion) toString()
default String
default byte[]
-
Constructor Details
-
SCEnvMetaEntry
public SCEnvMetaEntry() -
SCEnvMetaEntry
public SCEnvMetaEntry(SCEnvMetaKind discriminant, SCEnvMetaEntry.SCEnvMetaEntryInterfaceVersion interfaceVersion)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getInterfaceVersion
-
setDiscriminant
-
setInterfaceVersion
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-