Interface
caplin.trading.statemachine

TriggerActiveChangedListener

TriggerActiveChangedListeners wish to be notified whenever a specific trigger changes from active to inactive or inactive to active. A trigger is active if it would cause a state change - that is, with the supplied context all it's validators would validate, and it would match a transition.

Constructor Summary

Attributes Name and Description
caplin.trading.statemachine.TriggerActiveChangedListener()

The super constructor of implementors of TriggerActiveChangedListener.

Method Summary

Attributes Name and Description
void triggerActiveChanged(boolean bCanChange, Object oContext, String sEvent)

Constructor Detail

caplin.trading.statemachine.TriggerActiveChangedListener()

The super constructor of implementors of TriggerActiveChangedListener.

Method Detail

void triggerActiveChanged(boolean bCanChange, Object oContext, String sEvent)

Parameters
boolean bCanChange true if the trigger has become active, false if it has become inactive.
Object oContext the data context.
String sEvent is the trigger that has changed its active state.