Started Mock Node
A class that represents a started mock node for testing.
Properties
An identifier for the node. By default this is allocated sequentially in a MockNetwork.
The ServiceHub for the underlying node.
Functions
Returns the currently live flows of type flowClass, and their corresponding result future.
Delivers a single message from the internal queue. If there are no messages waiting to be delivered and block is true, waits until one has been provided on a different thread via send. If block is false, the return result indicates whether a message was delivered or not.
Manually register an initiating-responder flow pair based on the FlowLogic annotations.
Register a custom relationship between initiating and receiving flow on a node-by-node basis. This is used when we want to manually specify that a particular initiating flow class will have a particular responder.
Executes given statement in the scope of transaction.