Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TContext > Interface Template Reference

The contextual callback interface for fetch requests. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TContext >:
PushTechnology.ClientInterface.Client.Features.IContextStream< in TContext > PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TContext >

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...
 

Detailed Description

The contextual callback interface for fetch requests.

Use this alternative to IFetchStream to associate some arbitrary context object with each call.

Template Parameters
TContextThe context object type.

Member Function Documentation

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.

Parameters
contextThe context object supplied when making the call. May be null.
topicPathThe path of the topic fetched.
contentThe topic content.

Implemented in PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TContext >.


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