public class CoreStpBookingHandlerToMFStpBookingHandler extends java.lang.Object implements CoreStpBookingHandler
| Constructor and Description |
|---|
CoreStpBookingHandlerToMFStpBookingHandler(MFStpBookingHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
on(mfstp_booking.ConfirmationDecoder confirmation,
CoreStpBookingSession session)
Called when a Confirmation is received from the server
|
void |
on(mfstp_booking.ExecutionReportDecoder executionReport,
CoreStpBookingSession session) |
void |
on(mfstp_booking.HeartbeatDecoder heartbeat,
CoreStpBookingSession session)
Called when a heartbeat is received.
|
void |
on(mfstp_booking.LogonResponseDecoder logonResponse,
CoreStpBookingSession session)
Called a logon is successful.
|
void |
on(mfstp_booking.LogoutDecoder logout,
CoreStpBookingSession session)
Called a logout is request to the client.
|
void |
on(mfstp_booking.LogoutResponseDecoder logoutResponse,
CoreStpBookingSession session)
A response to a successful logout request.
|
void |
on(mfstp_booking.OrderCancelRejectDecoder orderCancelReject,
CoreStpBookingSession session)
Called when a OrderCancelReject is received from the server
|
void |
on(mfstp_booking.SecurityDefinitionDecoder securityDefinition,
CoreStpBookingSession session)
Called on each security definition in response to a security definition request.
|
void |
on(mfstp_booking.TradeCaptureReportAckDecoder tradeCaptureAck,
CoreStpBookingSession session)
Called when a TradeCaptureReportAck is received from the server
|
void |
on(mfstp_booking.TradeCaptureReportRequestDecoder tradeCaptureReportRequest,
CoreStpBookingSession session)
Called when a TradeCaptureReportRequest is received from the server
|
void |
onConnect(CoreStpBookingSession session)
Called when the session establishes a socket connection.
|
void |
onDisconnect(java.lang.String message,
CoreStpBookingSession session)
Called when the session socket disconnects.
|
void |
onStart(CoreStpBookingSession session)
Called right before the handler becomes active in the MFClient.run()
event loop.
|
void |
onStop(CoreStpBookingSession session)
Called when the session is being removed from processing in
the event loop.
|
void |
updateCallbackSessionTo(MFStpBookingSession session) |
public CoreStpBookingHandlerToMFStpBookingHandler(MFStpBookingHandler delegate)
public void updateCallbackSessionTo(MFStpBookingSession session)
public void onStart(CoreStpBookingSession session)
CoreStpBookingHandleronStart in interface CoreStpBookingHandlerpublic void onStop(CoreStpBookingSession session)
CoreStpBookingHandleronStop in interface CoreStpBookingHandlerpublic void onConnect(CoreStpBookingSession session)
CoreStpBookingHandleronConnect in interface CoreStpBookingHandlerpublic void onDisconnect(java.lang.String message,
CoreStpBookingSession session)
CoreStpBookingHandleronDisconnect in interface CoreStpBookingHandlerpublic void on(mfstp_booking.LogonResponseDecoder logonResponse,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.LogoutDecoder logout,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.LogoutResponseDecoder logoutResponse,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.HeartbeatDecoder heartbeat,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.SecurityDefinitionDecoder securityDefinition,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.TradeCaptureReportRequestDecoder tradeCaptureReportRequest,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.TradeCaptureReportAckDecoder tradeCaptureAck,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.ConfirmationDecoder confirmation,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.OrderCancelRejectDecoder orderCancelReject,
CoreStpBookingSession session)
CoreStpBookingHandleron in interface CoreStpBookingHandlerpublic void on(mfstp_booking.ExecutionReportDecoder executionReport,
CoreStpBookingSession session)
on in interface CoreStpBookingHandler