Package org.stellar.sdk.xdr
Class SCPEnvelope
java.lang.Object
org.stellar.sdk.xdr.SCPEnvelope
- All Implemented Interfaces:
XdrElement
SCPEnvelope's original definition in the XDR file is:
struct SCPEnvelope
{
SCPStatement statement;
Signature signature;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCPEnvelopedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCPEnvelopefromXdrBase64(String xdr) static SCPEnvelopefromXdrByteArray(byte[] xdr) inthashCode()voidsetSignature(Signature signature) voidsetStatement(SCPStatement statement) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCPEnvelope
public SCPEnvelope() -
SCPEnvelope
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getStatement
-
getSignature
-
setStatement
-
setSignature
-
equals
-
hashCode
public int hashCode() -
toString
-