public static class BookViewer.MarketDataHandlerImpl extends AbstractMFHandler
| Modifier and Type | Method and Description |
|---|---|
void |
clearConsole() |
void |
onBatchComplete(int batchDefID,
MFClient client)
Batch Complete Event: Called on completed batches.
|
void |
onConnect(MFClient client)
Called right after a reconnection attempt succeeds.
|
void |
onDisconnect(MFClient client)
Called when connection is broken unexpectedly; this signals that the
dispatcher is about to attempt to reconnect and if necessary fail over to
the secondary server, if one has been provided.
|
void |
onDropCopy(DropCopy dropCopy,
MFClient client)
Drop Copy Trading Event: Callback that gets invoked on DropCopy events.
|
void |
onEventReport(EventReport eventReport,
MFClient client)
Report Event: Called on new event report.
|
void |
onMarketData(MarketView marketView,
MFClient client)
Market Data Event: Called on new market-data updates.
|
void |
onOrderCanceled(OrderCanceled orderCanceled,
MFClient client)
Trading Event: Callback that gets invoked when an Order is successfully canceled.
|
void |
onOrderCancelRejected(OrderCancelRejected orderCancelRejected,
MFClient client)
Trading Event: Callback that gets invoked when an Order cancel is rejected.
|
void |
onOrderDone(OrderDone orderDone,
MFClient client)
Trading Event: Callback that gets invoked when an Order is finished
|
void |
onOrderReceived(OrderReceived orderReceived,
MFClient client)
Trading Event: Callback that gets invoked when an Order is received by the server.
|
void |
onOrderRejected(OrderRejected orderRejected,
MFClient client)
Trading Event: Callback that gets invoked when an Order is rejected.
|
void |
onOrderSubmitted(OrderSubmitted orderSubmitted,
MFClient client)
Trading Event: Callback that gets invoked when an Order is successfully submitted.
|
void |
onStart(MFClient client)
Called right after we start dispatching events, once per call to client.run().
|
void |
onStop(MFClient client)
Called right before we stop dispatching events and return from client.run().
|
void |
onSubscriptionEvent(SubscriptionEvent subscriptionEvent,
MFClient client)
Subscription Event: Called when the status of the subscription changes.
|
void |
onTradeCapture(TradeCapture tradeCapture,
MFClient client)
Trading Event: Callback that gets invoked on TradeCapture events
|
java.lang.String |
toString() |
onDateRollover, onHeartbeat, onReplayDonepublic void onMarketData(MarketView marketView, MFClient client)
AbstractMFHandleronMarketData in interface MFHandleronMarketData in class AbstractMFHandlermarketView - -- the event parameterclient - -- the target clientpublic void onStart(MFClient client)
AbstractMFHandleronStart in interface MFHandleronStart in class AbstractMFHandlerclient - -- the target clientpublic void onStop(MFClient client)
AbstractMFHandleronStop in interface MFHandleronStop in class AbstractMFHandlerclient - -- the target clientpublic void onDisconnect(MFClient client)
AbstractMFHandleronDisconnect in interface MFHandleronDisconnect in class AbstractMFHandlerclient - -- the target clientpublic void onConnect(MFClient client)
AbstractMFHandleronConnect in interface MFHandleronConnect in class AbstractMFHandlerclient - -- the target clientpublic void onSubscriptionEvent(SubscriptionEvent subscriptionEvent, MFClient client)
AbstractMFHandleronSubscriptionEvent in interface MFHandleronSubscriptionEvent in class AbstractMFHandlersubscriptionEvent - -- the event parameterclient - -- the target clientpublic java.lang.String toString()
toString in class java.lang.Objectpublic void clearConsole()
public void onOrderSubmitted(OrderSubmitted orderSubmitted, MFClient client)
AbstractMFHandleronOrderSubmitted in interface MFHandleronOrderSubmitted in class AbstractMFHandlerorderSubmitted - -- the resultsclient - -- the target clientpublic void onBatchComplete(int batchDefID,
MFClient client)
AbstractMFHandleronBatchComplete in interface MFHandleronBatchComplete in class AbstractMFHandlerbatchDefID - -- the batch that is completeclient - -- the target clientpublic void onEventReport(EventReport eventReport, MFClient client)
AbstractMFHandleronEventReport in interface MFHandleronEventReport in class AbstractMFHandlereventReport - -- the event parameterclient - -- the target clientpublic void onOrderReceived(OrderReceived orderReceived, MFClient client)
AbstractMFHandleronOrderReceived in interface MFHandleronOrderReceived in class AbstractMFHandlerorderReceived - -- the resultsclient - -- the target clientpublic void onOrderRejected(OrderRejected orderRejected, MFClient client)
AbstractMFHandleronOrderRejected in interface MFHandleronOrderRejected in class AbstractMFHandlerorderRejected - -- the resultsclient - -- the target clientpublic void onOrderCanceled(OrderCanceled orderCanceled, MFClient client)
AbstractMFHandleronOrderCanceled in interface MFHandleronOrderCanceled in class AbstractMFHandlerorderCanceled - -- the resultsclient - -- the target clientpublic void onOrderCancelRejected(OrderCancelRejected orderCancelRejected, MFClient client)
AbstractMFHandleronOrderCancelRejected in interface MFHandleronOrderCancelRejected in class AbstractMFHandlerorderCancelRejected - -- the resultsclient - -- the target clientpublic void onDropCopy(DropCopy dropCopy, MFClient client)
AbstractMFHandleronDropCopy in interface MFHandleronDropCopy in class AbstractMFHandlerdropCopy - -- the resultsclient - -- the target clientpublic void onTradeCapture(TradeCapture tradeCapture, MFClient client)
AbstractMFHandleronTradeCapture in interface MFHandleronTradeCapture in class AbstractMFHandlertradeCapture - -- the resultsclient - -- the target clientpublic void onOrderDone(OrderDone orderDone, MFClient client)
AbstractMFHandleronOrderDone in interface MFHandleronOrderDone in class AbstractMFHandlerorderDone - -- the resultsclient - -- the target client