public abstract class AbstractBlotterDataProvider<T extends com.caplin.motif.fx.trading.FXTrade>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BLOCK_TRADE_CLIENT_CLOSE |
static java.lang.String |
BLOCK_TRADE_ERROR |
static java.lang.String |
BLOCK_TRADE_EXECUTE_ACK |
static java.lang.String |
BLOCK_TRADE_EXPIRED |
static java.lang.String |
BLOCK_TRADE_PICK_UP |
static java.lang.String |
BLOCK_TRADE_QUOTE |
static java.lang.String |
BLOCK_TRADE_REJECT |
static java.lang.String |
BLOCK_TRADE_RET_SUBMIT |
static java.lang.String |
BLOCK_TRADE_SUBMIT_ACK |
static java.lang.String |
BLOCK_TRADE_TRADE_CONFIRMATION |
static java.lang.String |
BLOCK_TRADE_TRADE_HELD |
static java.lang.String |
BLOCK_TRADE_WITHDRAW |
static java.lang.String |
ESP_CLIENT_CLOSE |
static java.lang.String |
ESP_ERROR |
static java.lang.String |
ESP_PICK_UP |
static java.lang.String |
ESP_REJECT |
static java.lang.String |
ESP_RET_SUBMIT |
static java.lang.String |
ESP_SUBMIT_ACK |
static java.lang.String |
ESP_TRADE_CONFIRMATION |
static java.lang.String |
ESP_TRADE_HELD |
static java.lang.String |
RFS_CLIENT_CLOSE |
static java.lang.String |
RFS_ERROR |
static java.lang.String |
RFS_EXECUTE_ACK |
static java.lang.String |
RFS_EXPIRED |
static java.lang.String |
RFS_PICK_UP |
static java.lang.String |
RFS_QUOTE |
static java.lang.String |
RFS_REJECT |
static java.lang.String |
RFS_RET_SUBMIT |
static java.lang.String |
RFS_SUBMIT_ACK |
static java.lang.String |
RFS_TRADE_CONFIRMATION |
static java.lang.String |
RFS_TRADE_HELD |
static java.lang.String |
RFS_WITHDRAW |
Constructor and Description |
---|
AbstractBlotterDataProvider(FxTradingAdapterInitialiser configuration) |
Modifier and Type | Method and Description |
---|---|
void |
populateAndPublishToBlotter(T trade,
com.caplin.motif.trading.BaseResponderEvent responderEvent) |
abstract void |
populateBlotterFieldsFrom(com.caplin.motif.trading.BaseResponderEvent responderEvent,
T trade,
java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap) |
void |
publishToBlotter(java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap,
java.lang.String user) |
void |
sendDataSourceErrorToClient(java.lang.String tradeID,
T trade,
com.caplin.motif.fx.trading.FXResponder<T> responder,
java.lang.String errorCode) |
void |
sendRejectToClient(java.lang.String tradeID,
com.caplin.motif.fx.trading.FXResponder<T> responder,
java.lang.String errorCode,
java.lang.String errorMessage,
T trade) |
void |
sendRETRejectToClient(java.lang.String tradeID,
T trade,
com.caplin.motif.fx.trading.FXResponder<T> responder,
java.lang.String errorMessage) |
public static final java.lang.String ESP_REJECT
public static final java.lang.String ESP_ERROR
public static final java.lang.String ESP_CLIENT_CLOSE
public static final java.lang.String ESP_PICK_UP
public static final java.lang.String ESP_RET_SUBMIT
public static final java.lang.String ESP_SUBMIT_ACK
public static final java.lang.String ESP_TRADE_CONFIRMATION
public static final java.lang.String ESP_TRADE_HELD
public static final java.lang.String RFS_REJECT
public static final java.lang.String RFS_ERROR
public static final java.lang.String RFS_CLIENT_CLOSE
public static final java.lang.String RFS_EXECUTE_ACK
public static final java.lang.String RFS_EXPIRED
public static final java.lang.String RFS_PICK_UP
public static final java.lang.String RFS_QUOTE
public static final java.lang.String RFS_RET_SUBMIT
public static final java.lang.String RFS_SUBMIT_ACK
public static final java.lang.String RFS_TRADE_CONFIRMATION
public static final java.lang.String RFS_TRADE_HELD
public static final java.lang.String RFS_WITHDRAW
public static final java.lang.String BLOCK_TRADE_REJECT
public static final java.lang.String BLOCK_TRADE_ERROR
public static final java.lang.String BLOCK_TRADE_CLIENT_CLOSE
public static final java.lang.String BLOCK_TRADE_EXECUTE_ACK
public static final java.lang.String BLOCK_TRADE_EXPIRED
public static final java.lang.String BLOCK_TRADE_PICK_UP
public static final java.lang.String BLOCK_TRADE_QUOTE
public static final java.lang.String BLOCK_TRADE_RET_SUBMIT
public static final java.lang.String BLOCK_TRADE_SUBMIT_ACK
public static final java.lang.String BLOCK_TRADE_TRADE_CONFIRMATION
public static final java.lang.String BLOCK_TRADE_TRADE_HELD
public static final java.lang.String BLOCK_TRADE_WITHDRAW
public AbstractBlotterDataProvider(FxTradingAdapterInitialiser configuration)
public void sendRETRejectToClient(java.lang.String tradeID, T trade, com.caplin.motif.fx.trading.FXResponder<T> responder, java.lang.String errorMessage)
public void sendRejectToClient(java.lang.String tradeID, com.caplin.motif.fx.trading.FXResponder<T> responder, java.lang.String errorCode, java.lang.String errorMessage, T trade)
public void sendDataSourceErrorToClient(java.lang.String tradeID, T trade, com.caplin.motif.fx.trading.FXResponder<T> responder, java.lang.String errorCode)
public void populateAndPublishToBlotter(T trade, com.caplin.motif.trading.BaseResponderEvent responderEvent)
public void publishToBlotter(java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap, java.lang.String user)
public abstract void populateBlotterFieldsFrom(com.caplin.motif.trading.BaseResponderEvent responderEvent, T trade, java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap)
Copyright © 2016 Caplin Systems.