Package org.stellar.sdk.xdr
Class LedgerSCPMessages
java.lang.Object
org.stellar.sdk.xdr.LedgerSCPMessages
LedgerSCPMessages's original definition in the XDR file is:
struct LedgerSCPMessages { uint32 ledgerSeq; SCPEnvelope messages<>; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerSCPMessages
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerSCPMessages
fromXdrBase64
(String xdr) static LedgerSCPMessages
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setLedgerSeq
(Uint32 ledgerSeq) void
setMessages
(SCPEnvelope[] messages) toString()
default String
default byte[]
-
Constructor Details
-
LedgerSCPMessages
public LedgerSCPMessages() -
LedgerSCPMessages
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerSeq
-
getMessages
-
setLedgerSeq
-
setMessages
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-