Package org.stellar.sdk.xdr
Class TimeSlicedSurveyRequestMessage
java.lang.Object
org.stellar.sdk.xdr.TimeSlicedSurveyRequestMessage
TimeSlicedSurveyRequestMessage's original definition in the XDR file is:
struct TimeSlicedSurveyRequestMessage { SurveyRequestMessage request; uint32 nonce; uint32 inboundPeersIndex; uint32 outboundPeersIndex; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionTimeSlicedSurveyRequestMessage
(SurveyRequestMessage request, Uint32 nonce, Uint32 inboundPeersIndex, Uint32 outboundPeersIndex) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getNonce()
int
hashCode()
void
setInboundPeersIndex
(Uint32 inboundPeersIndex) void
void
setOutboundPeersIndex
(Uint32 outboundPeersIndex) void
setRequest
(SurveyRequestMessage request) toString()
default String
default byte[]
-
Constructor Details
-
TimeSlicedSurveyRequestMessage
public TimeSlicedSurveyRequestMessage() -
TimeSlicedSurveyRequestMessage
public TimeSlicedSurveyRequestMessage(SurveyRequestMessage request, Uint32 nonce, Uint32 inboundPeersIndex, Uint32 outboundPeersIndex)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getRequest
-
getNonce
-
getInboundPeersIndex
-
getOutboundPeersIndex
-
setRequest
-
setNonce
-
setInboundPeersIndex
-
setOutboundPeersIndex
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-