@InitiatingFlow @StartableByRPC class CashExitFlow : AbstractCashFlow<Result>
Initiates a flow that produces an cash exit transaction.
amount
- the amount of a currency to remove from the ledger.
issuerRef
- the reference on the issued currency. Added to the node's legal identity to determine the
issuer.
ExitRequest |
class ExitRequest : AbstractRequest |
<init> |
CashExitFlow(amount: Amount<Currency>, issuerRef: OpaqueBytes) CashExitFlow(request: ExitRequest)
Initiates a flow that produces an cash exit transaction. CashExitFlow(amount: Amount<Currency>, issuerRef: OpaqueBytes, progressTracker: ProgressTracker) |
call |
fun call(): Result |
tracker |
fun tracker(): ProgressTracker |
receiveAll |
Suspends until a message has been received for each session in the specified sessions. fun FlowLogic<*>.receiveAll(session: Pair<FlowSession, Class<out Any>>, vararg sessions: Pair<FlowSession, Class<out Any>>): Map<FlowSession, UntrustworthyData<Any>> fun <R : Any> FlowLogic<*>.receiveAll(receiveType: Class<R>, session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> fun <R : Any> FlowLogic<*>.receiveAll(session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> |