public interface MFTradingHandler
MFTradingSession| Modifier and Type | Method and Description |
|---|---|
void |
on(ExecutionReport executionReport,
MFTradingSession session)
A response to an order action (order submission, modification, cancellation)
to give the user the status of the order.
|
void |
on(Heartbeat heartbeat,
MFTradingSession session)
Called when a heartbeat is received.
|
void |
on(LogonResponse logonResponse,
MFTradingSession session)
Called when a logon is successful.
|
void |
on(Logout logout,
MFTradingSession session)
Called when a logout is request to the client.
|
void |
on(LogoutResponse logoutResponse,
MFTradingSession session)
A response to a successful logout request.
|
void |
on(MarketDefinition marketDefinition,
MFTradingSession session)
Gives the definition of a particular venue.
|
void |
on(OrderCancelReject orderCancelReject,
MFTradingSession session)
Sent when an attempt to cancel an order fails.
|
void |
on(ResendRequest resendRequest,
MFTradingSession session)
A request from the server to resend messages.
|
void |
on(SecurityDefinition securityDefinition,
MFTradingSession session)
Called on each security definition in response to a security definition request.
|
void |
on(TradingSessionStatus tradingSessionStatus,
MFTradingSession session)
A response to the trading session request.
|
void |
onConnect(MFTradingSession session)
Called when the session establishes a socket connection.
|
void |
onDisconnect(java.lang.String message,
MFTradingSession session)
Called when the session socket disconnects.
|
void |
onStart(MFTradingSession session)
Called right before the handler becomes active in the MFClient.run()
event loop.
|
void |
onStop(MFTradingSession session)
Called when the session is being removed from processing in
the event loop.
|
void onStart(MFTradingSession session)
void onStop(MFTradingSession session)
void onConnect(MFTradingSession session)
void onDisconnect(java.lang.String message,
MFTradingSession session)
void on(LogonResponse logonResponse, MFTradingSession session)
void on(Logout logout, MFTradingSession session)
void on(LogoutResponse logoutResponse, MFTradingSession session)
void on(Heartbeat heartbeat, MFTradingSession session)
void on(ResendRequest resendRequest, MFTradingSession session)
void on(MarketDefinition marketDefinition, MFTradingSession session)
void on(SecurityDefinition securityDefinition, MFTradingSession session)
void on(TradingSessionStatus tradingSessionStatus, MFTradingSession session)
void on(ExecutionReport executionReport, MFTradingSession session)
void on(OrderCancelReject orderCancelReject, MFTradingSession session)