C# Class KafkaAdapters.TimeSeriesConsumer

Inheritance: GSF.TimeSeries.Adapters.InputAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
ProcessPartitionMessages void
UpdateMetadata void

Public Methods

Method Description
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this AdapterBase.

Initialize ( ) : void

Initializes TimeSeriesProducer.

TimeSeriesConsumer ( ) : System

Creates a new TimeSeriesConsumer instance.

Protected Methods

Method Description
AttemptConnection ( ) : void

Attempts to connect to data output stream.

Derived classes should attempt connection to data output stream here. Any exceptions thrown by this implementation will result in restart of the connection cycle.

AttemptDisconnection ( ) : void

Attempts to disconnect from data output stream.

Derived classes should attempt disconnect from data output stream here. Any exceptions thrown by this implementation will be reported to host via AdapterBase.ProcessException event.

Private Methods

Method Description
ProcessPartitionMessages ( object state ) : void
UpdateMetadata ( ) : void

Method Details

AttemptConnection() protected method

Attempts to connect to data output stream.
Derived classes should attempt connection to data output stream here. Any exceptions thrown by this implementation will result in restart of the connection cycle.
protected AttemptConnection ( ) : void
return void

AttemptDisconnection() protected method

Attempts to disconnect from data output stream.
Derived classes should attempt disconnect from data output stream here. Any exceptions thrown by this implementation will be reported to host via AdapterBase.ProcessException event.
protected AttemptDisconnection ( ) : void
return void

GetShortStatus() public method

Gets a short one-line status of this AdapterBase.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
return string

Initialize() public method

Initializes TimeSeriesProducer.
public Initialize ( ) : void
return void

TimeSeriesConsumer() public method

Creates a new TimeSeriesConsumer instance.
public TimeSeriesConsumer ( ) : System
return System