Interface RFSStateEventFactory
-
- All Known Implementing Classes:
CancellableRFSStateEventFactory
public interface RFSStateEventFactory
A factory which createsRFSStateEvent
objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RFSStateEventFactory.Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RFSStateEvent
createTradeStateEventForWithdraw(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, TradeTypeHandler tradeHandler)
Returns a newBlockStateEvent
for a withdraw event.void
initialise(RFSStateEventFactory.Context context)
This notifies theRESTradeListenerEventInfoFactory
that it is about to be loaded.
-
-
-
Method Detail
-
initialise
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
BlockStateEventFactory
is loaded by the system.
-
createTradeStateEventForWithdraw
RFSStateEvent createTradeStateEventForWithdraw(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.TradeEvent event, TradeTypeHandler tradeHandler)
Returns a new
BlockStateEvent
for a withdraw event.Use this method to create a new
BlockStateEvent
.
-
-