start

open fun start()


fun start(network: InMemoryMessagingNetwork, manuallyPumped: Boolean, id: Int, notaryService: <Error class: unknown class>?)

Parameters

manuallyPumped

if set to true, then you are expected to call MockNodeMessagingService.pumpReceive in order to cause the delivery of a single message, which will occur on the thread of the caller. If set to false then this class will set up a background thread to deliver messages asynchronously, if the handler specifies no executor.

id

the numeric ID to use, e.g. set to whatever ID the node used last time.