B2BITS FIX Antenna C++ 2.33.0
|
Provides access to the CQG FIX/FAST Direct Market Data feed. More...
#include <B2BITS_CqgMDApplication.h>
Public Member Functions | |
virtual void | join ()=0 |
Waits until all threads and asynchronous operations assigned to instance are completed. | |
virtual void | release () const =0 |
Destroys the object and cleanup all assigned resources. | |
virtual void | stop ()=0 |
Stops all threads assigned to instance. | |
virtual void | subscribeBySecurityDescription (InstrumentListener *listener, ASecurityDescription securityDesc, RecoveryOptions recoveryMode=RO_USE_MARKET_RECOVERY)=0 |
Subscribes for market data for instrument given by SecurityID. | |
virtual void | subscribeBySecurityID (InstrumentListener *listener, ASecurityID securityID, AFeedID feedID=FeedID(), ASubChannelID subChannel=0, RecoveryOptions recoveryMode=RO_USE_MARKET_RECOVERY)=0 |
Subscribes for market data for instrument given by SecurityID. | |
virtual void | unsubscribeAll ()=0 |
Stop data processing for all instruments. | |
virtual void | unsubscribeBySecurityDescription (ASecurityDescription securityDesc)=0 |
Stop processing data for specified instrument. | |
virtual void | unsubscribeBySecurityID (ASecurityID securityID, AFeedID feedID=FeedID())=0 |
Stop processing data for specified instrument. | |
Protected Member Functions | |
virtual | ~MDApplication () |
Virtual destructor. | |
Provides access to the CQG FIX/FAST Direct Market Data feed.
|
inlineprotectedvirtual |
Virtual destructor.
Use MDApplication::release to destroy the instance.
|
pure virtual |
Waits until all threads and asynchronous operations assigned to instance are completed.
|
pure virtual |
Destroys the object and cleanup all assigned resources.
|
pure virtual |
Stops all threads assigned to instance.
Method is non-blocking. Use MDApplication::join to complete the operation
|
pure virtual |
Subscribes for market data for instrument given by SecurityID.
listener | Instance of InstrumentListener to receive notifications |
securityDesc | SecurityDescription(107) of instrument @recoveryMode Kind of recovery |
|
pure virtual |
Subscribes for market data for instrument given by SecurityID.
listener | Instance of InstrumentListener to receive notifications |
securityID | SecurityID(48) of instrument |
feedID | ID of the feed on which instrument is published |
subChannel | Sub-channel identifier. Should be 0 at the moment, @recoveryMode Kind of recovery |
|
pure virtual |
Stop data processing for all instruments.
|
pure virtual |
Stop processing data for specified instrument.
|
pure virtual |
Stop processing data for specified instrument.