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

The default IFetchContextStream{TContext} implementation. More...

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

Public Member Functions

virtual 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.ContextStreamDefault< TContext >
virtual void OnClose (TContext context)
 Called to notify that the stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.ContextCallbackDefault< TContext >
virtual 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 default IFetchContextStream{TContext} implementation.

This simply logs calls at 'debug' level. This can be overridden to perform some more specific action.

Template Parameters
TContextThe context object type.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TContext >.OnFetchReply ( TContext  context,
string  topicPath,
IContent  content 
)
virtual

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.

Implements PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TContext >.


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