OnixS SGX Derivatives Handler for C++  2.17.0.0
Public Member Functions | Protected Member Functions | List of all members
ExchangeListener Class Referenceabstract

Exchange information listener. More...

Public Member Functions

virtual void onExchangeInfo (const ExchangeInfo &exchange)=0
 Is called when received exchange information. More...
 
virtual void onNonTradingDate (const Market &market, const NonTradingDate &nonTradingDate)=0
 Is called when non trading date received. More...
 
virtual void onAvailableTradeType (const TradeTypeInfo &tradeTypeInfo)=0
 Is called when received Deal Source lists available on that day. More...
 
virtual void onTradingState (const TradingState &tradingState)=0
 Is called when received Trading State set in the system on the day. More...
 
virtual void onStateType (const Market &market, const StateType &stateType)=0
 Is called when received State Type for market. More...
 
virtual void onTradeReportType (const TradeReportType &tradeReportType)=0
 Is called when trade report type is received. More...
 

Protected Member Functions

virtual ~ExchangeListener ()
 Disables public delete operator in the interface class.
 

Detailed Description

Exchange information listener.

Member Function Documentation

virtual void onAvailableTradeType ( const TradeTypeInfo tradeTypeInfo)
pure virtual

Is called when received Deal Source lists available on that day.

Parameters
tradeTypeInfoTrade Type Information.
virtual void onExchangeInfo ( const ExchangeInfo exchange)
pure virtual

Is called when received exchange information.

Parameters
exchangeExchange info attributes.
virtual void onNonTradingDate ( const Market market,
const NonTradingDate nonTradingDate 
)
pure virtual

Is called when non trading date received.

Parameters
marketMarket.
nonTradingDateNon-Trading Date and attributes.
virtual void onStateType ( const Market market,
const StateType stateType 
)
pure virtual

Is called when received State Type for market.

Parameters
marketMarket.
stateTypeState Type.
virtual void onTradeReportType ( const TradeReportType tradeReportType)
pure virtual

Is called when trade report type is received.

Parameters
tradeReportTypeTrade Report Type.
virtual void onTradingState ( const TradingState tradingState)
pure virtual

Is called when received Trading State set in the system on the day.

Parameters
tradingStateTrading State.