Class ContextStreamDefault<TContext>
The default IContextStream<TContext> implementation.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public class ContextStreamDefault<TContext> : ContextCallbackDefault<TContext>, IContextStream<TContext>, IContextCallback<TContext>
Type Parameters
Name | Description |
---|---|
TContext | The context object type. |
Remarks
Deprecated: Stream has only been used in IFetchContextStream<TContext> which is now deprecated. This interface will be removed in a future release.
This simply logs OnClose(TContext) calls at 'debug' level. This method should normally be overridden to perform more specific processing.
Methods
OnClose(TContext)
Called to notify that the stream context was closed normally.
Declaration
public virtual void OnClose(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context object the application supplied when making the call. |
Remarks
No further calls will be made for the stream context.