public class MFMarketDataHandlerToMFPriceDepthBookHandlerAdapter extends java.lang.Object implements MFMarketDataHandler
MFMarketDataHandler to a MFPriceDepthBookHandler| Constructor and Description |
|---|
MFMarketDataHandlerToMFPriceDepthBookHandlerAdapter(MFPriceDepthBookHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
on(BatchesCompleted batchesCompleted,
MFMarketDataSession session)
Called to notify that a EBS batch is complete.
|
void |
on(Heartbeat heartbeat,
MFMarketDataSession session)
Called when a heartbeat is received.
|
void |
on(LogonResponse logonResponse,
MFMarketDataSession session)
Called when a logon is successful.
|
void |
on(Logout logout,
MFMarketDataSession session)
Called when a logout is request to the client.
|
void |
on(LogoutResponse logoutResponse,
MFMarketDataSession session)
A response to a successful logout request.
|
void |
on(MarketDataIncrementalRefresh marketDataIncrementalRefresh,
MFMarketDataSession session)
Called on the beginning of a group of market data updates.
|
void |
on(MarketDataRequestReject marketDataRequestReject,
MFMarketDataSession session)
Called on a response to a market data request to notify the request could not
be processed.
|
void |
on(MDEntry entry,
MFMarketDataSession session)
Called after a MarketDataIncrementalRefresh for each additional update in the group.
|
void |
on(SecurityDefinition securityDefinition,
MFMarketDataSession session)
Called on each security definition in response to a security definition request.
|
void |
on(SecurityStatus securityStatus,
MFMarketDataSession session)
Called on a response to a market data request to notify the subscription status
of a particular security.
|
void |
onConnect(MFMarketDataSession session)
Called when the session establishes a socket connection.
|
void |
onDisconnect(java.lang.String msg,
MFMarketDataSession session)
Called when the session socket disconnects.
|
void |
onStart(MFMarketDataSession session)
Called right before the handler becomes active in the MFClient.run()
event loop.
|
void |
onStop(MFMarketDataSession session)
Called when the session is being removed from processing in
the event loop.
|
public MFMarketDataHandlerToMFPriceDepthBookHandlerAdapter(MFPriceDepthBookHandler delegate)
public void onStart(MFMarketDataSession session)
MFCommonMarketDataHandleronStart in interface MFCommonMarketDataHandlerpublic void onStop(MFMarketDataSession session)
MFCommonMarketDataHandleronStop in interface MFCommonMarketDataHandlerpublic void onConnect(MFMarketDataSession session)
MFCommonMarketDataHandleronConnect in interface MFCommonMarketDataHandlerpublic void onDisconnect(java.lang.String msg,
MFMarketDataSession session)
MFCommonMarketDataHandleronDisconnect in interface MFCommonMarketDataHandlerpublic void on(LogonResponse logonResponse, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(Logout logout, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(LogoutResponse logoutResponse, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(Heartbeat heartbeat, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(SecurityDefinition securityDefinition, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(SecurityStatus securityStatus, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(MarketDataRequestReject marketDataRequestReject, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandlerpublic void on(MarketDataIncrementalRefresh marketDataIncrementalRefresh, MFMarketDataSession session)
MFMarketDataHandleron in interface MFMarketDataHandlerpublic void on(MDEntry entry, MFMarketDataSession session)
MFMarketDataHandleron in interface MFMarketDataHandlerpublic void on(BatchesCompleted batchesCompleted, MFMarketDataSession session)
MFCommonMarketDataHandleron in interface MFCommonMarketDataHandler