Interface RFSStateEventFactory
- All Known Implementing Classes:
CancellableRFSStateEventFactory
public interface RFSStateEventFactory
A factory which creates
RFSStateEvent objects.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateTradeStateEventForWithdraw(String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, TradeTypeHandler tradeHandler) Returns a newBlockStateEventfor a withdraw event.voidinitialise(RFSStateEventFactory.Context context) This notifies theRESTradeListenerEventInfoFactorythat it is about to be loaded.
-
Method Details
-
initialise
This notifies the
RESTradeListenerEventInfoFactorythat 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
BlockStateEventFactoryis loaded by the system. -
createTradeStateEventForWithdraw
RFSStateEvent createTradeStateEventForWithdraw(String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, TradeTypeHandler tradeHandler) Returns a new
BlockStateEventfor a withdraw event.Use this method to create a new
BlockStateEvent.
-