Package org.stellar.sdk.xdr
Class LedgerSCPMessages
java.lang.Object
org.stellar.sdk.xdr.LedgerSCPMessages
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LedgerSCPMessagesdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, LedgerSCPMessages encodedLedgerSCPMessages) booleanstatic LedgerSCPMessagesfromXdrBase64(String xdr) static LedgerSCPMessagesfromXdrByteArray(byte[] xdr) inthashCode()voidsetLedgerSeq(Uint32 value) voidsetMessages(SCPEnvelope[] value) byte[]
-
Constructor Details
-
LedgerSCPMessages
public LedgerSCPMessages()
-
-
Method Details
-
getLedgerSeq
-
setLedgerSeq
-
getMessages
-
setMessages
-
encode
public static void encode(XdrDataOutputStream stream, LedgerSCPMessages encodedLedgerSCPMessages) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-