Diffusion .NET Client Library
6.1.5
|
The extension of IContextCallback{TContext} that allows many callbacks for each call context. More...
Public Member Functions | |
void | OnClose (TContext context) |
Notification that a call context was closed normally. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.IContextCallback< in TContext > | |
void | OnError (TContext context, ErrorReason errorReason) |
Notification of a contextual error related to this callback. More... | |
The extension of IContextCallback{TContext} that allows many callbacks for each call context.
This interface and its extensions are alternatives to the IStream interface hierarchy that allow the application to associate an arbitrary context object with each call. Any suitable application object can be provided as the context. It will be passed on to the corresponding callback methods, allowing requests and responses to be correlated. The context object is optional (it may be null).
In all other respects this interface and IStream behave identically.
Since 5.1
TContext | The context object type. |
void PushTechnology.ClientInterface.Client.Callbacks.IContextStream< in TContext >.OnClose | ( | TContext | context | ) |
Notification that a call context was closed normally.
No further calls will be made for the stream context.
context | The context object the application supplied when making the call. May be null. |
Implemented in PushTechnology.ClientInterface.Client.Callbacks.DefaultContextStream< TContext >.