Package org.stellar.sdk.xdr
Class DontHave
java.lang.Object
org.stellar.sdk.xdr.DontHave
- All Implemented Interfaces:
XdrElement
DontHave's original definition in the XDR file is:
struct DontHave { MessageType type; uint256 reqHash; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DontHave.DontHaveBuilder
builder()
static DontHave
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static DontHave
fromXdrBase64
(String xdr) static DontHave
fromXdrByteArray
(byte[] xdr) getType()
int
hashCode()
void
setReqHash
(Uint256 reqHash) void
setType
(MessageType type) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
DontHave
public DontHave() -
DontHave
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getType
-
getReqHash
-
setType
-
setReqHash
-
equals
-
hashCode
public int hashCode() -
toString
-