Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.IFilteredRequestCallback< TResponse > Interface Template Reference

The callback interface for responses to requests sent to a filter. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.IFilteredRequestCallback< TResponse >:
PushTechnology.ClientInterface.Client.Callbacks.IStream PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Features.Control.Topics.FilteredRequestCallbackDefault< TResponse >

Public Member Functions

void OnResponse (ISessionId sessionId, TResponse response)
 Called when a response has been received. More...
 
void OnResponseError (ISessionId sessionId, Exception exception)
 Called upon a response error from session. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.IStream
void OnClose ()
 Notification that a stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.ICallback
void OnError (ErrorReason errorReason)
 Notification of a contextual error related to this callback. More...
 

Detailed Description

The callback interface for responses to requests sent to a filter.

Template Parameters
TResponseThe type of the response.

Since 6.1

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.IFilteredRequestCallback< TResponse >.OnResponse ( ISessionId  sessionId,
TResponse  response 
)

Called when a response has been received.

Parameters
sessionIdThe session identifier of the session that has sent the response.
responseThe response.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.FilteredRequestCallbackDefault< TResponse >.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.IFilteredRequestCallback< TResponse >.OnResponseError ( ISessionId  sessionId,
Exception  exception 
)

Called upon a response error from session.

Parameters
sessionIdThe session identifier of the session that has sent the response.
exceptionThe exception for the error result.

Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.FilteredRequestCallbackDefault< TResponse >.


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