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.DontHaveBuilderbuilder()static DontHavedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic DontHavefromXdrBase64(String xdr) static DontHavefromXdrByteArray(byte[] xdr) getType()inthashCode()voidsetReqHash(Uint256 reqHash) voidsetType(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:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getType
-
getReqHash
-
setType
-
setReqHash
-
equals
-
hashCode
public int hashCode() -
toString
-