GoldenGateBindings / com.fitbit.goldengate.bindings.coap / CoapEndpoint / ResponseForResult

ResponseForResult

class ResponseForResult

Result for CoapEndpoint.responseFor and CoapEndpoint.responseForBlockwise native call

Constructors

<init>

ResponseForResult(resultCode: Int, nativeResponseListenerReference: Long)

Result for CoapEndpoint.responseFor and CoapEndpoint.responseForBlockwise native call

Properties

nativeResponseListenerReference

val nativeResponseListenerReference: Long

Reference to native response listener that holds reference to ongoing CoAP request only valid when resultCode is +ve

resultCode

val resultCode: Int

Result code for responseFor request, -ve value indicates error