Package org.stellar.sdk.xdr
Class FrozenLedgerKeysDelta
java.lang.Object
org.stellar.sdk.xdr.FrozenLedgerKeysDelta
- All Implemented Interfaces:
XdrElement
FrozenLedgerKeysDelta's original definition in the XDR file is:
struct FrozenLedgerKeysDelta {
EncodedLedgerKey keysToFreeze<>;
EncodedLedgerKey keysToUnfreeze<>;
};
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionFrozenLedgerKeysDelta(EncodedLedgerKey[] keysToFreeze, EncodedLedgerKey[] keysToUnfreeze) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static FrozenLedgerKeysDeltadecode(XdrDataInputStream stream) static FrozenLedgerKeysDeltadecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanstatic FrozenLedgerKeysDeltastatic FrozenLedgerKeysDeltafromXdrBase64(String xdr) static FrozenLedgerKeysDeltafromXdrByteArray(byte[] xdr) inthashCode()voidsetKeysToFreeze(EncodedLedgerKey[] keysToFreeze) voidsetKeysToUnfreeze(EncodedLedgerKey[] keysToUnfreeze) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
FrozenLedgerKeysDelta
public FrozenLedgerKeysDelta() -
FrozenLedgerKeysDelta
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
public static FrozenLedgerKeysDelta decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
builder
-
toBuilder
-
getKeysToFreeze
-
getKeysToUnfreeze
-
setKeysToFreeze
-
setKeysToUnfreeze
-
equals
-
hashCode
public int hashCode() -
toString
-