Caplin Trader 5.1.0

Interface: module:ct-trading/workbench/model/StateMonitorImplementor

module:ct-trading/workbench/model/StateMonitorImplementor

The StateMonitorImplementor indicates that a TradeService is exposing a state monitor which allows access to the state machine. This interface is mainly use for testing purposes as some workbenches might require the state monitor in order to work.

Methods

getStateMonitor()

It will return the monitor which gives you view access to a trade state model.

See module:ct-trading/workbench/model/StateMachineMonitor for an example.