public abstract class AbstractBlotterDataProvider<T extends com.caplin.motif.UserTrade>
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 |
CLIENT_CLOSE_ACK |
static java.lang.String |
ERROR |
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 |
HOLD |
static java.lang.String |
PICK_UP |
static java.lang.String |
PRICE_UPDATE |
static java.lang.String |
REJECT |
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 |
static java.lang.String |
SUBMIT_ACK |
static java.lang.String |
TRADE_CONFIRMATION |
static java.lang.String |
WITHDRAW |
Constructor and Description |
---|
AbstractBlotterDataProvider(FxTradingAdapterInitialiser configuration) |
Modifier and Type | Method and Description |
---|---|
void |
populateAndPublishToBlotter(T trade,
com.caplin.trading.TradeEvent tradeEvent) |
abstract void |
populateBlotterFieldsFrom(com.caplin.trading.TradeEvent tradeEvent,
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,
java.lang.String errorCode) |
void |
sendRejectToClient(java.lang.String tradeID,
java.lang.String errorCode,
java.lang.String errorMessage,
T trade) |
void |
sendRETRejectToClient(java.lang.String tradeID,
T trade,
java.lang.String errorMessage) |
public static final java.lang.String SUBMIT_ACK
public static final java.lang.String PICK_UP
public static final java.lang.String TRADE_CONFIRMATION
public static final java.lang.String CLIENT_CLOSE_ACK
public static final java.lang.String ERROR
public static final java.lang.String REJECT
public static final java.lang.String HOLD
public static final java.lang.String PRICE_UPDATE
public static final java.lang.String WITHDRAW
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, java.lang.String errorMessage)
public void sendRejectToClient(java.lang.String tradeID, java.lang.String errorCode, java.lang.String errorMessage, T trade)
public void sendDataSourceErrorToClient(java.lang.String tradeID, T trade, java.lang.String errorCode)
public void populateAndPublishToBlotter(T trade, com.caplin.trading.TradeEvent tradeEvent)
public void publishToBlotter(java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap, java.lang.String user)
public abstract void populateBlotterFieldsFrom(com.caplin.trading.TradeEvent tradeEvent, T trade, java.util.Map<java.lang.String,java.lang.String> fieldsToValueMap)
Copyright © 2019 Caplin Systems.