public interface RFSStateEventFactory<T extends com.caplin.motif.fx.trading.FXTrade>
RFSStateEvent
objects.Modifier and Type | Interface and Description |
---|---|
static class |
RFSStateEventFactory.Context |
Modifier and Type | Method and Description |
---|---|
RFSStateEvent<T> |
createTradeStateEventForWithdraw(java.lang.String tradeId,
com.caplin.ret.trapi.fx.execution.TradeEvent event,
TradeTypeHandler<T> tradeHandler,
RFSResponderProvider<T> responderProvider)
Returns a new
RFSStateEvent for a withdraw event. |
void |
initialise(RFSStateEventFactory.Context context)
This notifies the
RESTradeListenerEventInfoFactory that it is about to be loaded. |
void initialise(RFSStateEventFactory.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
RFSStateEventFactory
is loaded by the system.
RFSStateEvent<T> createTradeStateEventForWithdraw(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, TradeTypeHandler<T> tradeHandler, RFSResponderProvider<T> responderProvider)
Returns a new RFSStateEvent
for a withdraw event.
Use this method to create a new RFSStateEvent
.
Copyright © 2016 Caplin Systems.