public interface CoreTradingHandler
| Modifier and Type | Method and Description |
|---|---|
void |
on(mftrading.ExecutionReportDecoder executionReport,
CoreTradingSession session)
A response to an order action (order submission, modification, cancellation)
to give the user the status of the order.
|
void |
on(mftrading.HeartbeatDecoder heartbeat,
CoreTradingSession session)
Called when a heartbeat is received.
|
void |
on(mftrading.LogonResponseDecoder logonResponse,
CoreTradingSession session)
Called a logon is successful.
|
void |
on(mftrading.LogoutDecoder logout,
CoreTradingSession session)
Called a logout is request to the client.
|
void |
on(mftrading.LogoutResponseDecoder logoutResponse,
CoreTradingSession session)
A response to a successful logout request.
|
void |
on(mftrading.MarketDefinitionDecoder marketDefinition,
CoreTradingSession session)
Gives the definition of a particular venue.
|
void |
on(mftrading.OrderCancelRejectDecoder orderCancelReject,
CoreTradingSession session)
Sent when an attempt to cancel an order fails.
|
void |
on(mftrading.ResendRequestDecoder resendRequest,
CoreTradingSession session)
A request from the server to resend messages.
|
void |
on(mftrading.SecurityDefinitionDecoder securityDefinition,
CoreTradingSession session)
Called on each security definition in response to a security definition request.
|
void |
on(mftrading.TradingSessionStatusDecoder tradingSessionStatus,
CoreTradingSession session)
A response to the trading session request.
|
void |
onConnect(CoreTradingSession session)
Called when the session establishes a socket connection.
|
void |
onDisconnect(java.lang.String message,
CoreTradingSession session)
Called when the session socket disconnects.
|
void |
onStart(CoreTradingSession session)
Called right before the handler becomes active in the MFClient.run()
event loop.
|
void |
onStop(CoreTradingSession session)
Called when the session is being removed from processing in
the event loop.
|
void onStart(CoreTradingSession session)
void onStop(CoreTradingSession session)
void onConnect(CoreTradingSession session)
void onDisconnect(java.lang.String message,
CoreTradingSession session)
void on(mftrading.LogonResponseDecoder logonResponse,
CoreTradingSession session)
void on(mftrading.LogoutDecoder logout,
CoreTradingSession session)
void on(mftrading.LogoutResponseDecoder logoutResponse,
CoreTradingSession session)
void on(mftrading.HeartbeatDecoder heartbeat,
CoreTradingSession session)
void on(mftrading.ResendRequestDecoder resendRequest,
CoreTradingSession session)
void on(mftrading.MarketDefinitionDecoder marketDefinition,
CoreTradingSession session)
void on(mftrading.SecurityDefinitionDecoder securityDefinition,
CoreTradingSession session)
void on(mftrading.TradingSessionStatusDecoder tradingSessionStatus,
CoreTradingSession session)
void on(mftrading.ExecutionReportDecoder executionReport,
CoreTradingSession session)
void on(mftrading.OrderCancelRejectDecoder orderCancelReject,
CoreTradingSession session)