AppContext |
data class AppContext
This is just some way to track what attachments need to be in the class loader, but may later include some app properties loaded from the attachments. And perhaps the authenticated user for an API call? |
FlowLogic |
abstract class FlowLogic<out T>
A sub-class of FlowLogic implements a flow using direct, straight line blocking code. Thus you can write complex flow logic in an ordinary fashion, without having to think about callbacks, restarting after a node crash, how many instances of your flow there are running and so on. |
FlowLogicRef |
data class FlowLogicRef
A class representing a FlowLogic instance which would be possible to safely pass out of the contract sandbox. |
FlowLogicRefFactory |
class FlowLogicRefFactory : SingletonSerializeAsToken
A class for conversion to and from FlowLogic and FlowLogicRef instances. |
FlowStateMachine |
interface FlowStateMachine<R>
This is an internal interface that is implemented by code in the node module. You should look at FlowLogic. |
StateMachineRunId |
data class StateMachineRunId
A unique identifier for a single state machine run, valid across node restarts. Note that a single run always has at least one flow, but that flow may also invoke sub-flows: they all share the same run id. |
FlowException |
open class FlowException : Exception
Exception which can be thrown by a FlowLogic at any point in its logic to unexpectedly bring it to a permanent end. The exception will propagate to all counterparty flows and will be thrown on their end the next time they wait on a FlowLogic.receive or FlowLogic.sendAndReceive. Any flow which no longer needs to do a receive, or has already ended, will not receive the exception (if this is required then have them wait for a confirmation message). |
IllegalFlowLogicException |
class IllegalFlowLogicException : IllegalArgumentException |