B2BITS FIX Antenna C++  2.27.0
Public Member Functions | List of all members
Micex::Mfix::MDApplication Class Referenceabstract

Represents micex mfix application. More...

#include <B2BITS_MicexMfixApplication.h>

Public Member Functions

virtual MDApplicationListenergetApplicationListener () const =0
 Returns listener assigned to application. More...
 
virtual const ChannelIdsgetChannelIds () const =0
 Returns channel ids. More...
 
virtual const MicexFeedStatisticsgetFeedStatistics (const std::string &channel_id, const std::string &connection_id)=0
 Returns statistics data for the feed. More...
 
virtual MicexFeedgetOrdersFeed () const =0
 Retrieves order feed (stream) More...
 
virtual MicexFeedgetStatisticsFeed () const =0
 Retrieves statistics feed (stream) More...
 
virtual MicexFeedgetStatusFeed () const =0
 Retrives instrument status feed isf (stream) More...
 
virtual MicexFeedgetTradesFeed () const =0
 Retrieves trades feed (stream) More...
 
virtual void join ()=0
 Waits until application is stopped. More...
 
virtual void release ()=0
 Releases resources assigned to application. More...
 
virtual void resolveInstrumentBySecurityDesc (const SecurityDescription &sec_desc, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Resolve instrument by security description from channel. More...
 
virtual void resolveInstrumentBySecurityId (const SecurityId &sec_id, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Resolve instrument by security ID from channel. More...
 
virtual void resolveInstrumentBySymbol (const Symbol &symb, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Resolve instrument by Symbol from channel. More...
 
virtual void resolveInstrumentFromChannel (const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Resolve all instruments from channel. More...
 
virtual void stop ()=0
 Stops application. More...
 
virtual void stopResolveInstrumentBySecurityDesc (const SecurityDescription &sec_desc, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Stop resolving instrument by security description from channel. More...
 
virtual void stopResolveInstrumentBySecurityId (const SecurityId &sec_id, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Stop resolving instrument by security ID from channel. More...
 
virtual void stopResolveInstrumentBySymbol (const Symbol &symb, const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Stop resolving instrument by Symbol from channel. More...
 
virtual void stopResolveInstrumentFromChannel (const std::string &channel_id, SecurityDefinitionListener &listener)=0
 Stop resovling instruments from channel. More...
 
virtual ~MDApplication ()
 

Detailed Description

Represents micex mfix application.

Constructor & Destructor Documentation

◆ ~MDApplication()

virtual Micex::Mfix::MDApplication::~MDApplication ( )
inlinevirtual

Member Function Documentation

◆ getApplicationListener()

virtual MDApplicationListener* Micex::Mfix::MDApplication::getApplicationListener ( ) const
pure virtual

Returns listener assigned to application.

◆ getChannelIds()

virtual const ChannelIds& Micex::Mfix::MDApplication::getChannelIds ( ) const
pure virtual

Returns channel ids.

◆ getFeedStatistics()

virtual const MicexFeedStatistics* Micex::Mfix::MDApplication::getFeedStatistics ( const std::string &  channel_id,
const std::string &  connection_id 
)
pure virtual

Returns statistics data for the feed.

◆ getOrdersFeed()

virtual MicexFeed& Micex::Mfix::MDApplication::getOrdersFeed ( ) const
pure virtual

Retrieves order feed (stream)

◆ getStatisticsFeed()

virtual MicexFeed& Micex::Mfix::MDApplication::getStatisticsFeed ( ) const
pure virtual

Retrieves statistics feed (stream)

◆ getStatusFeed()

virtual MicexFeed& Micex::Mfix::MDApplication::getStatusFeed ( ) const
pure virtual

Retrives instrument status feed isf (stream)

◆ getTradesFeed()

virtual MicexFeed& Micex::Mfix::MDApplication::getTradesFeed ( ) const
pure virtual

Retrieves trades feed (stream)

◆ join()

virtual void Micex::Mfix::MDApplication::join ( )
pure virtual

Waits until application is stopped.

◆ release()

virtual void Micex::Mfix::MDApplication::release ( )
pure virtual

Releases resources assigned to application.

◆ resolveInstrumentBySecurityDesc()

virtual void Micex::Mfix::MDApplication::resolveInstrumentBySecurityDesc ( const SecurityDescription sec_desc,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Resolve instrument by security description from channel.

◆ resolveInstrumentBySecurityId()

virtual void Micex::Mfix::MDApplication::resolveInstrumentBySecurityId ( const SecurityId sec_id,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Resolve instrument by security ID from channel.

◆ resolveInstrumentBySymbol()

virtual void Micex::Mfix::MDApplication::resolveInstrumentBySymbol ( const Symbol symb,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Resolve instrument by Symbol from channel.

◆ resolveInstrumentFromChannel()

virtual void Micex::Mfix::MDApplication::resolveInstrumentFromChannel ( const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Resolve all instruments from channel.

◆ stop()

virtual void Micex::Mfix::MDApplication::stop ( )
pure virtual

Stops application.

Method does not stop application immediately. Use join method to wait until will stop.

◆ stopResolveInstrumentBySecurityDesc()

virtual void Micex::Mfix::MDApplication::stopResolveInstrumentBySecurityDesc ( const SecurityDescription sec_desc,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Stop resolving instrument by security description from channel.

◆ stopResolveInstrumentBySecurityId()

virtual void Micex::Mfix::MDApplication::stopResolveInstrumentBySecurityId ( const SecurityId sec_id,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Stop resolving instrument by security ID from channel.

◆ stopResolveInstrumentBySymbol()

virtual void Micex::Mfix::MDApplication::stopResolveInstrumentBySymbol ( const Symbol symb,
const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Stop resolving instrument by Symbol from channel.

◆ stopResolveInstrumentFromChannel()

virtual void Micex::Mfix::MDApplication::stopResolveInstrumentFromChannel ( const std::string &  channel_id,
SecurityDefinitionListener listener 
)
pure virtual

Stop resovling instruments from channel.