interface FlowStateMachine<R>
This is an internal interface that is implemented by code in the node module. You should look at FlowLogic.
abstract val flowInitiator: FlowInitiator |
|
abstract val id: StateMachineRunId |
|
abstract val logger: Logger |
|
abstract val resultFuture: ListenableFuture<R> |
|
abstract val serviceHub: ServiceHub |
abstract fun checkFlowPermission(permissionName: String, extraAuditData: Map<String, String>): Unit |
|
abstract fun <T : Any> receive(receiveType: Class<T>, otherParty: Party, sessionFlow: FlowLogic<*>): UntrustworthyData<T> |
|
abstract fun recordAuditEvent(eventType: String, comment: String, extraAuditData: Map<String, String>): Unit |
|
abstract fun send(otherParty: Party, payload: Any, sessionFlow: FlowLogic<*>): Unit |
|
abstract fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any, sessionFlow: FlowLogic<*>, retrySend: Boolean = false): UntrustworthyData<T> |
|
abstract fun waitForLedgerCommit(hash: SecureHash, sessionFlow: FlowLogic<*>): SignedTransaction |
fun <T> Any.declaredField(name: String): DeclaredField<T>
Returns a DeclaredField wrapper around the declared (possibly non-public) instance field of the receiver object. fun <T> Any.declaredField(clazz: KClass<*>, name: String): DeclaredField<T>
Returns a DeclaredField wrapper around the (possibly non-public) instance field of the receiver object, but declared in its superclass clazz. |
class FlowStateMachineImpl<R> : Fiber<Unit>, FlowStateMachine<R> |