Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TC > Interface Template Reference

Contextual callback interface for fetch requests. More...

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

Public Member Functions

void OnFetchReply (TC context, string topicPath, IContent content)
 Returns a reply to a fetch request. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextStream< in TC >
void OnClose (TC context)
 Notification that a call context was closed normally. No further calls will be made for the call context. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >
void OnDiscard (TC context)
 Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More...
 

Detailed Description

Contextual callback interface for fetch requests.

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

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TC >.OnFetchReply ( TC  context,
string  topicPath,
IContent  content 
)

Returns a reply to a fetch 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< TC >.


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