http-rpc-client / net.corda.v5.httprpc.client.internal.stream / DurableCursorTransferObject

DurableCursorTransferObject

class DurableCursorTransferObject<T> : FiniteDurableCursorBuilder<T>, Supplier<PollResult<T>>

Implementation of FiniteDurableCursorBuilder which is created on the server side to be marshalled back to the client. Methods of FiniteDurableCursorBuilder are not meant to be used, it is just a data container that wraps Cursor.PollResult.

Types

PollResultImpl

data class PollResultImpl<T> : PollResult<T>

PositionedValueImpl

data class PositionedValueImpl<T> : PositionedValue<T>

Constructors

<init>

Implementation of FiniteDurableCursorBuilder which is created on the server side to be marshalled back to the client. Methods of FiniteDurableCursorBuilder are not meant to be used, it is just a data container that wraps Cursor.PollResult.

DurableCursorTransferObject(pollResult: PollResult<T>)

Properties

positionManager

var positionManager: PositionManager

Functions

build

fun build(): FiniteDurableCursor<T>

get

fun get(): PollResult<T>