public interface BlockStateEventFactory
BlockStateEvent
objects.Modifier and Type | Interface and Description |
---|---|
static class |
BlockStateEventFactory.Context |
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 a new
BlockStateEvent for a withdraw event. |
void |
initialise(BlockStateEventFactory.Context context)
This notifies the
RESTradeListenerEventInfoFactory that it is about to be loaded. |
void initialise(BlockStateEventFactory.Context context)
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.
BlockStateEvent createTradeStateEventForWithdraw(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, BlockHandler tradeHandler, BlockResponderProvider responderProvider)
Returns a new BlockStateEvent
for a withdraw event.
Use this method to create a new BlockStateEvent
.
Copyright © 2019 Caplin Systems.