Table of Contents

Interface IFilteredRequestCallback<TResponse>

Namespace
PushTechnology.ClientInterface.Client.Features
Assembly
Diffusion.Client.dll

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

public interface IFilteredRequestCallback<TResponse>

Type Parameters

TResponse

The type of the response.

Remarks

Since 6.1

Methods

OnResponse(ISessionId, TResponse)

Called when a response has been received.

void OnResponse(ISessionId sessionId, TResponse response)

Parameters

sessionId ISessionId

The session identifier of the session that has sent the response.

response TResponse

The response.

OnResponseError(ISessionId, Exception)

Called upon a response error from the session.

void OnResponseError(ISessionId sessionId, Exception exception)

Parameters

sessionId ISessionId

The session identifier of the session that has sent the response.

exception Exception

The exception for the error result.