public class BulkOrderDeletionHandler extends java.lang.Object implements BulkActionOrderTransactionHandler, com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>, com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
Constructor and Description |
---|
BulkOrderDeletionHandler(java.lang.String connectionPoolKey,
java.util.List<BulkOrder> bulkOrders,
OrderConnectionRequestRouter connectionRequestRouter,
NotificationManager notificationManager,
java.lang.String requestId,
AuditLoggerManager.AuditLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection connection) |
void |
connectionRegistrationFailed(java.lang.String reason) |
void |
onBulkOrderDeleteComplete(java.util.List<com.caplin.ret.trapi.fx.order.OrderEvent> deletedOrders,
java.util.List<com.caplin.ret.trapi.fx.order.OrderEvent> deletePendingOrders,
java.util.List<com.caplin.ret.trapi.fx.order.OrderErrorEvent> deleteFailedOrders) |
void |
onBulkOrderDeleteFail(java.lang.String reason) |
void |
onOrderDelete(com.caplin.ret.trapi.fx.order.OrderEvent event) |
void |
onOrderDeleteFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent errorEvent) |
void |
onOrderDeletePending(com.caplin.ret.trapi.fx.order.OrderEvent event) |
void |
performBulkAction() |
public BulkOrderDeletionHandler(java.lang.String connectionPoolKey, java.util.List<BulkOrder> bulkOrders, OrderConnectionRequestRouter connectionRequestRouter, NotificationManager notificationManager, java.lang.String requestId, AuditLoggerManager.AuditLogger logger)
public void performBulkAction()
performBulkAction
in interface BulkActionOrderTransactionHandler
public void connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection connection)
connectionAvailable
in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
public void connectionRegistrationFailed(java.lang.String reason)
connectionRegistrationFailed
in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
public void onOrderDelete(com.caplin.ret.trapi.fx.order.OrderEvent event)
onOrderDelete
in interface com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
public void onOrderDeletePending(com.caplin.ret.trapi.fx.order.OrderEvent event)
onOrderDeletePending
in interface com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
public void onOrderDeleteFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent errorEvent)
onOrderDeleteFail
in interface com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
public void onBulkOrderDeleteFail(java.lang.String reason)
onBulkOrderDeleteFail
in interface com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
public void onBulkOrderDeleteComplete(java.util.List<com.caplin.ret.trapi.fx.order.OrderEvent> deletedOrders, java.util.List<com.caplin.ret.trapi.fx.order.OrderEvent> deletePendingOrders, java.util.List<com.caplin.ret.trapi.fx.order.OrderErrorEvent> deleteFailedOrders)
onBulkOrderDeleteComplete
in interface com.caplin.ret.trapi.fx.order.transaction.bulk.delete.BulkDeleteOrderListener
Copyright © 2019 Caplin Systems.