Package org.stellar.sdk.xdr
Class SCSpecTypeResult
java.lang.Object
org.stellar.sdk.xdr.SCSpecTypeResult
- All Implemented Interfaces:
XdrElement
SCSpecTypeResult's original definition in the XDR file is:
struct SCSpecTypeResult
{
SCSpecTypeDef okType;
SCSpecTypeDef errorType;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCSpecTypeResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCSpecTypeResultfromXdrBase64(String xdr) static SCSpecTypeResultfromXdrByteArray(byte[] xdr) inthashCode()voidsetErrorType(SCSpecTypeDef errorType) voidsetOkType(SCSpecTypeDef okType) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSpecTypeResult
public SCSpecTypeResult() -
SCSpecTypeResult
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getOkType
-
getErrorType
-
setOkType
-
setErrorType
-
equals
-
hashCode
public int hashCode() -
toString
-