Diffusion .NET Client Library
6.1.5
|
The contextual callback interface for fetch requests. More...
Public Member Functions | |
void | OnFetchReply (TContext context, string topicPath, IContent content) |
Called as a reply to a fetch request. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextStream< in TContext > | |
void | OnClose (TContext context) |
Called to notify that the stream context was closed normally. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > | |
void | OnDiscard (TContext context) |
Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. More... | |
The contextual callback interface for fetch requests.
Use this alternative to IFetchStream to associate some arbitrary context object with each call.
TContext | The context object type. |
void PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TContext >.OnFetchReply | ( | TContext | context, |
string | topicPath, | ||
IContent | content | ||
) |
Called as a reply to a fetch request.
This can be called many times for a single request.
context | The context object supplied when making the call. May be null. |
topicPath | The path of the topic fetched. |
content | The topic content. |
Implemented in PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TContext >.