Package org.stellar.sdk.xdr
Class TimeSlicedSurveyResponseMessage
java.lang.Object
org.stellar.sdk.xdr.TimeSlicedSurveyResponseMessage
- All Implemented Interfaces:
XdrElement
TimeSlicedSurveyResponseMessage's original definition in the XDR file is:
struct TimeSlicedSurveyResponseMessage
{
SurveyResponseMessage response;
uint32 nonce;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionTimeSlicedSurveyResponseMessage(SurveyResponseMessage response, Uint32 nonce) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) decode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getNonce()inthashCode()voidvoidsetResponse(SurveyResponseMessage response) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TimeSlicedSurveyResponseMessage
public TimeSlicedSurveyResponseMessage() -
TimeSlicedSurveyResponseMessage
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
public static TimeSlicedSurveyResponseMessage decode(XdrDataInputStream stream, int maxDepth) throws IOException - Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
builder
-
toBuilder
-
getResponse
-
getNonce
-
setResponse
-
setNonce
-
equals
-
hashCode
public int hashCode() -
toString
-