corda / net.corda.core.messaging / FlowHandleWithClientIdImpl

FlowHandleWithClientIdImpl

data class FlowHandleWithClientIdImpl<A> : FlowHandleWithClientId<A>

Constructors

<init>

FlowHandleWithClientIdImpl(id: StateMachineRunId, returnValue: CordaFuture<A>, clientId: String)

Properties

clientId

val clientId: String

The clientId with which the client has started the flow.

id

val id: StateMachineRunId

The started state machine's ID.

returnValue

val returnValue: CordaFuture<A>

A CordaFuture of the flow's return value.

Functions

close

fun close(): Unit

Use this function for flows whose returnValue is not going to be used, so as to free up server resources.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.