ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem > Class Template Referenceabstract
Inheritance diagram for ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >:
[legend]

Public Member Functions

void Enqueue (IDataFeedConnector connector, TMessage message)
 
void Enqueue (IDataFeedConnector connector, Action action)
 
void Start (IDataFeedConnector connector, Action< TMessage > handler)
 
void Stop (IDataFeedConnector connector)
 
void Enqueue (IDataFeedConnector connector, TMessage message)
 
void Enqueue (IDataFeedConnector connector, Action action)
 
void Start (IDataFeedConnector connector, Action< TMessage > handler)
 
void Stop (IDataFeedConnector connector)
 

Protected Member Functions

 BaseMessageQueue ()
 
abstract TItem CreateItem (IDataFeedConnector connector, TMessage message, Action action)
 
abstract void OnStart (IDataFeedConnector connector, Action< TMessage > handler)
 
abstract bool OnStop (IDataFeedConnector connector)
 
abstract void OnProcess (TItem item)
 

Properties

TimeSpan HeartbeatTimeout [get, set]
 
- Properties inherited from ATAS.DataFeedsCore.IMessageQueue< TMessage >
TimeSpan HeartbeatTimeout [get, set]
 

Events

Action Heartbeat
 
- Events inherited from ATAS.DataFeedsCore.IMessageQueue< TMessage >
Action Heartbeat
 

Constructor & Destructor Documentation

◆ BaseMessageQueue()

ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.BaseMessageQueue ( )
protected

Member Function Documentation

◆ CreateItem()

abstract TItem ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.CreateItem ( IDataFeedConnector  connector,
TMessage  message,
Action  action 
)
protectedpure virtual

◆ Enqueue() [1/2]

void ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.Enqueue ( IDataFeedConnector  connector,
Action  action 
)

◆ Enqueue() [2/2]

void ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.Enqueue ( IDataFeedConnector  connector,
TMessage  message 
)

◆ OnProcess()

abstract void ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.OnProcess ( TItem  item)
protectedpure virtual

◆ OnStart()

abstract void ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.OnStart ( IDataFeedConnector  connector,
Action< TMessage >  handler 
)
protectedpure virtual

◆ OnStop()

◆ Start()

void ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.Start ( IDataFeedConnector  connector,
Action< TMessage >  handler 
)

◆ Stop()

Property Documentation

◆ HeartbeatTimeout

TimeSpan ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.HeartbeatTimeout
getset

Event Documentation

◆ Heartbeat

Action ATAS.DataFeedsCore.BaseMessageQueue< TMessage, TItem >.Heartbeat

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