Applications implement this interface in order to process events from a MFStpBookingSession
More...
#include <MFStpBookingHandler.h>
Applications implement this interface in order to process events from a MFStpBookingSession
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::LogonResponse & |
logonResponse, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a logon is successful.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::Logout & |
logout, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a logout is request to the client. The client should respond with a logout response.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::LogoutResponse & |
logoutResponse, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
A response to a successful logout request.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::Heartbeat & |
heartbeat, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a heartbeat is received.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::SecurityDefinition & |
sd, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a SecurityDefinition is received.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::TradeCaptureReportRequest & |
tcrr, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a TradeCaptureReportRequest is received.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::TradeCaptureReportAck & |
tcra, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a TradeCaptureReportAck is received.
| virtual void MFStpBookingHandler::on |
( |
const mfstp_booking::Confirmation & |
c, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when a Confirmation is received.
Called when the session establishes a socket connection.
| virtual void MFStpBookingHandler::onDisconnect |
( |
const std::string & |
msg, |
|
|
MFStpBookingSession & |
session |
|
) |
| |
|
pure virtual |
Called when the session socket disconnects.
Called right before the handler becomes active in the MFClient::run() event loop.
Called when the session is being removed from processing in the event loop.
The documentation for this class was generated from the following file: