DataSource.NET
7.1.31.142147-b54558a5
|
Interface that must be implemented in order to provide data updates to DataSource peers for cached objects. It contains callbacks that handle subscription and discard requests. More...
Inherited by Caplin.DataSource.Channel.JsonChannelProvider.
Public Member Functions | |
void | ReceiveDiscard (string subject) |
Callback that informs the CachingDataProvider that an earlier requested subject has now been discarded and it should stop sending data. More... | |
void | ReceiveRequest (string subject) |
Callback that informs the CachingDataProvider that a new request has been received and it should start sending data. More... | |
Interface that must be implemented in order to provide data updates to DataSource peers for cached objects. It contains callbacks that handle subscription and discard requests.
Note: the CachingDataProvider
methods are not called on a dedicated worker thread. Therefore, if any of these methods are likely take a relatively long time to execute, they should be coded to run in a separate thread.
void Caplin.DataSource.Publisher.ICachingDataProvider.ReceiveDiscard | ( | string | subject | ) |
Callback that informs the CachingDataProvider that an earlier requested subject has now been discarded and it should stop sending data.
subject | The discarded subject. |
void Caplin.DataSource.Publisher.ICachingDataProvider.ReceiveRequest | ( | string | subject | ) |
Callback that informs the CachingDataProvider that a new request has been received and it should start sending data.
subject | The requested subject. |