Infront Data Manager Connect Client (.NET)

Public Member Functions | Events | List of all members
Gevasys.DataCore.Consumer.Manager.ConsumerStore Class Reference

More...

Inherits ISupportInitialize, and Gevasys.DataCore.Core.IConsumer.

## Public Member Functions
| ConsumerStore (String name)
| ConsumerStore (String name, IPushClient pushClient)
String | GetName ()
override String | ToString ()
void | Start ()
void | Stop ()
void | RequestRecaps (InstrumentList instruments)
void | AddInstrument (String instrument)
void | AddInstruments (InstrumentList instruments)
void | AddExchange (String exchange)
void | AddFilter (FilterElement filterElement, params FilterElement[] filterElements)
void | RemoveFilter (FilterElement filterElement, params FilterElement[] filterElements)
void | AddFilterElement (FilterElement filterElement)
| Adds a FilterElement More...
void | RemoveFilterElement (FilterElement filterElement)
| Removes the FilterElement More...
void | RemoveInstrument (String instrument)
void | RemoveInstruments (InstrumentList instruments)
void | RemoveExchange (String Exchange)
InstrumentList | GetInstruments ()
void | RemoveAll ()
void | BeginInit ()
void | EndInit ()
void | Update (IStreamingConsumerManager source, ConsumerStateChangedEventArgs arg)
ConsumerType | GetConsumerType ()
void | SetFieldFilter (List< string > fieldList)
| Sets a list of fields as a data filter for the streaming connection on the server side. Only fields that exists in the field filter will be pushed. More...
void | RemoveFieldFilter ()
| Removes a field filter. More...
void | SubscribeNewsBroadcast ()
void | UnsubscribeNewsBroadcast ()

## Events
EventHandler< ConsumerStateChangedEventArgs > | OnConsumerStateChanged

## Detailed Description

Class that manages a primary and a secondary streaming consumer. Any instances of this class should be created by a instance of ConfigurationHelper.

The configuration of any ConsumerStore can be done in the InstanceConfiguration.xml file.

## Member Function Documentation

## ◆ AddExchange()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.AddExchange | ( | String | Exchange | ) |
| inline

Adds and subscribes a exchange.

Parameters

  Exchange | The exchange.

<font color="#3F5FBF" size="2"> <font color="#3F5FBF" size="2">Not available in version 1.1.</font> </font>

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ AddFilterElement()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.AddFilterElement | ( | FilterElement | filterElement | ) |
| inline

Adds a FilterElement

Parameters

  filterElement |

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ AddInstrument()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.AddInstrument | ( | String | instrument | ) |
| inline

Adds and subscribes a instrument.

Parameters

  instrument | The instrument.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ AddInstruments()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.AddInstruments | ( | InstrumentList | instruments | ) |
| inline

Adds and subscribes a list of instruments.

Parameters

  instruments | The list of instruments.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ GetConsumerType()

ConsumerType Gevasys.DataCore.Consumer.Manager.ConsumerStore.GetConsumerType | ( |  | ) |
| inline

Gets the type of the Consumer.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ GetInstruments()

InstrumentList Gevasys.DataCore.Consumer.Manager.ConsumerStore.GetInstruments | ( |  | ) |
| inline

Get the list of subscribed instruments.

Returns
  The list of instruments.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ GetName()

String Gevasys.DataCore.Consumer.Manager.ConsumerStore.GetName | ( |  | ) |
| inline

Gets the name of the Consumer.

Returns
  The name or null if no name exists.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveAll()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveAll | ( |  | ) |
| inline

Removes and unsubscribes all instruments and exchanges.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveExchange()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveExchange | ( | String | Exchange | ) |
| inline

Removes and unsubscribes a exchange.

<font color="#3F5FBF" size="2"> <font color="#3F5FBF" size="2">Available from version 2.x</font> </font>

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveFieldFilter()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveFieldFilter | ( |  | ) |
| inline

Removes a field filter.

<font color="#3F5FBF" size="2"> <font color="#3F5FBF" size="2">Available from Version 2.x.</font> </font>

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveFilterElement()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveFilterElement | ( | FilterElement | filterElement | ) |
| inline

Removes the FilterElement

Parameters

  filterElement |

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveInstrument()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveInstrument | ( | String | instrument | ) |
| inline

Removes an unsubscribes a instrument.

Parameters

  instrument | The instrument.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RemoveInstruments()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RemoveInstruments | ( | InstrumentList | instruments | ) |
| inline

Remove and unsubscribes a list of instruments.

Parameters

  instruments | <font color="#3F5FBF" size="2"> <font color="#3F5FBF" size="2">The list of Instruments</font> </font>

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ RequestRecaps()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.RequestRecaps | ( | InstrumentList | instrumentList | ) |
| inline

Request recap messages for a list of instruments.

Parameters

  instrumentList | The list of instruments.

Implements Gevasys.DataCore.Core.IConsumer.

## ◆ SetFieldFilter()

void Gevasys.DataCore.Consumer.Manager.ConsumerStore.SetFieldFilter | ( | List< string > | fieldList | ) |
| inline

Sets a list of fields as a data filter for the streaming connection on the server side. Only fields that exists in the field filter will be pushed.

Parameters

  fieldList |

<font color="#3F5FBF" size="2"> <font color="#3F5FBF" size="2">Available from Version 2.x.</font> </font>

Implements Gevasys.DataCore.Core.IConsumer.

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

- ConsumerStore.cs

Copyright (C) 2021 Infront Financial Technology GmbH
Mainzer Landstrasse 178 – 190
60327 Frankfurt am Main
Infront Data Manager Connect V4.1