|
| virtual void | onStart (MFTradingSession &session)=0 |
| | Called right before the handler becomes active in the MFClient::run() event loop. More...
|
| |
| virtual void | onStop (MFTradingSession &session)=0 |
| | Called when the session is being removed from processing in the event loop. More...
|
| |
| virtual void | onConnect (MFTradingSession &session)=0 |
| | Called when the session establishes a socket connection. More...
|
| |
| virtual void | onDisconnect (const std::string &msg, MFTradingSession &session)=0 |
| | Called when the session socket disconnects. More...
|
| |
| virtual void | on (const mftrading::LogonResponse &logonResponse, MFTradingSession &session)=0 |
| | Called when a logon is successful. More...
|
| |
| virtual void | on (const mftrading::Logout &logout, MFTradingSession &session)=0 |
| | Called when a logout is request to the client. The client should respond with a logout response. More...
|
| |
| virtual void | on (const mftrading::LogoutResponse &logoutResponse, MFTradingSession &session)=0 |
| | A response to a successful logout request. More...
|
| |
| virtual void | on (const mftrading::Heartbeat &heartbeat, MFTradingSession &session)=0 |
| | Called when a heartbeat is received. More...
|
| |
| virtual void | on (const mftrading::ResendRequest &resendRequest, MFTradingSession &session)=0 |
| | Called when a resend request is received from the server (currently not used). TODO - still not used?? On java side, appears to be used? More...
|
| |
| virtual void | on (const mftrading::MarketDefinition &marketDefinition, MFTradingSession &session)=0 |
| | Gives the definition of a particular venue. More...
|
| |
| virtual void | on (const mftrading::TradingSessionStatus &tradingSessionStatus, MFTradingSession &session)=0 |
| | A response to the trading session request. This notifies the client of the subscription status for a trading venue. More...
|
| |
| virtual void | on (mftrading::ExecutionReport &executionReport, MFTradingSession &session)=0 |
| | A response to an order action (order submission, modification, cancellation) to give the user the status of the order. More...
|
| |
| virtual void | on (const mftrading::OrderCancelReject &orderCancelReject, MFTradingSession &session)=0 |
| | Sent when an attempt to cancel an order fails. More...
|
| |
Applications implement this interface in order to process events from a MFTradingSession