public class CancellableBlockStateEventFactory extends java.lang.Object implements BlockStateEventFactory
BlockStateEventFactory
that returns an BlockStateEvent
compatible with the FXMotif.BlockStateEventFactory.Context
Constructor and Description |
---|
CancellableBlockStateEventFactory() |
Modifier and Type | Method and Description |
---|---|
BlockStateEvent |
createTradeStateEventForWithdraw(java.lang.String tradeId,
com.caplin.ret.trapi.fx.execution.TradeEvent event,
BlockHandler tradeHandler,
BlockResponderProvider responderProvider)
Returns an
BlockStateEvent which is in a cancellable state. |
void |
initialise(BlockStateEventFactory.Context context)
This notifies the
RESTradeListenerEventInfoFactory that it is about to be loaded. |
public void initialise(BlockStateEventFactory.Context context)
BlockStateEventFactory
This notifies the RESTradeListenerEventInfoFactory
that it is about to be loaded.
This method will be called by the system once.
You should use this method to perform any initialisation required before the
BlockStateEventFactory
is loaded by the system.
initialise
in interface BlockStateEventFactory
public BlockStateEvent createTradeStateEventForWithdraw(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, BlockHandler tradeHandler, BlockResponderProvider responderProvider)
Returns an BlockStateEvent
which is in a cancellable state.
createTradeStateEventForWithdraw
in interface BlockStateEventFactory
Copyright © 2019 Caplin Systems.