dxFeed .Net API  7.1.0
dxFeed .Net API library intended to provide market data access for DX clients
com.dxfeed.native.OrderViewSubscription Class Reference

More...

Inheritance diagram for com.dxfeed.native.OrderViewSubscription:
[legend]
Collaboration diagram for com.dxfeed.native.OrderViewSubscription:
[legend]

Public Member Functions

 OrderViewSubscription (NativeConnection connection, IDxOrderViewListener listener)
 Constructor More...
 
void AddSymbol (string symbol)
 Add symbol to subscription.
 
void AddSymbol (CandleSymbol symbol)
 This method is not allowed. Throws exception. More...
 
void AddSymbols (params string[] symbols)
 Add multiply symbols to subscription.
 
void AddSymbols (params CandleSymbol[] symbols)
 This method is not allowed. Throws exception. More...
 
void RemoveSymbols (params string[] symbols)
 Remove multiply symbols from subscription.
 
void RemoveSymbols (params CandleSymbol[] symbols)
 This method is not allowed. Throws exception. More...
 
void SetSymbols (params string[] symbols)
 Set multiply symbols to subscription.
 
void SetSymbols (params CandleSymbol[] symbols)
 Inherited from IDxSubscription This method is not allowed. Throws exception. More...
 
void Clear ()
 Clear all symbols from subscription. More...
 
IList< string > GetSymbols ()
 Get all symbols from subscription.
 
void AddSource (params string[] sources)
 Add events.OrderSource to subscription.
 
void SetSource (params string[] sources)
 Remove existing events.OrderSource from subscription and set new.
 
void Dispose ()
 This code added to correctly implement the disposable pattern. More...
 
void OnOrder< TB, TE > (TB buf)
 On Order event received. More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 This code added to correctly implement the disposable pattern. More...
 

Detailed Description

Client will be notified about first combined snapshot from different sources, and, after that, about separate orders

Constructor & Destructor Documentation

◆ OrderViewSubscription()

com.dxfeed.native.OrderViewSubscription.OrderViewSubscription ( NativeConnection  connection,
IDxOrderViewListener  listener 
)
inline

Constructor

Parameters
connectionIDxConnection connection
listenerOrderView listener

Member Function Documentation

◆ AddSymbol()

void com.dxfeed.native.OrderViewSubscription.AddSymbol ( CandleSymbol  symbol)
inline

This method is not allowed. Throws exception.

Add candle symbol to subscription.

Exceptions
T:System.InvalidOperationExceptionCandle symbols is not allowed for T:com.dxfeed.native.OrderViewSubscription

Implements com.dxfeed.api.IDxSubscription.

◆ AddSymbols()

void com.dxfeed.native.OrderViewSubscription.AddSymbols ( params CandleSymbol []  symbols)
inline

This method is not allowed. Throws exception.

Add multiply candle symbols to subscription.

Exceptions
T:System.InvalidOperationExceptionCandle symbols is not allowed for T:com.dxfeed.native.OrderViewSubscription

Implements com.dxfeed.api.IDxSubscription.

◆ Clear()

void com.dxfeed.native.OrderViewSubscription.Clear ( )
inline

Clear all symbols from subscription.

Exceptions
DxException

Implements com.dxfeed.api.IDxSubscription.

◆ Dispose() [1/2]

virtual void com.dxfeed.native.OrderViewSubscription.Dispose ( bool  disposing)
inlineprotectedvirtual

This code added to correctly implement the disposable pattern.

◆ Dispose() [2/2]

void com.dxfeed.native.OrderViewSubscription.Dispose ( )
inline

This code added to correctly implement the disposable pattern.

◆ OnOrder< TB, TE >()

void com.dxfeed.native.OrderViewSubscription.OnOrder< TB, TE > ( TB  buf)
inline

On Order event received.

Template Parameters
TBEvent buffer type.
TEEvent type.
Parameters
bufEvent buffer object.

Implements com.dxfeed.api.IDxOrderListener.

Type Constraints
TB :IDxEventBuf<TE> 
TE :IDxOrder 

◆ RemoveSymbols()

void com.dxfeed.native.OrderViewSubscription.RemoveSymbols ( params CandleSymbol []  symbols)
inline

This method is not allowed. Throws exception.

Remove multiply symbols from subscription.

Exceptions
T:System.InvalidOperationExceptionCandle symbols is not allowed for T:com.dxfeed.native.OrderViewSubscription

Implements com.dxfeed.api.IDxSubscription.

◆ SetSymbols()

void com.dxfeed.native.OrderViewSubscription.SetSymbols ( params CandleSymbol []  symbols)
inline

Inherited from IDxSubscription This method is not allowed. Throws exception.

Parameters
symbolslist of symbols
Exceptions
InvalidOperationExceptionCandle symbols is not allowed for OrderViewSubscription

Implements com.dxfeed.api.IDxSubscription.


The documentation for this class was generated from the following file: