Interface IFilteredRequestCallback<TResponse>

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

Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IFilteredRequestCallback<TResponse>
Type Parameters
Name Description
TResponse

The type of the response.

Remarks

Since 6.1

Methods

OnResponse(ISessionId, TResponse)

Called when a response has been received.

Declaration
void OnResponse(ISessionId sessionId, TResponse response)
Parameters
Type Name Description
ISessionId sessionId

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

TResponse response

The response.

OnResponseError(ISessionId, Exception)

Called upon a response error from the session.

Declaration
void OnResponseError(ISessionId sessionId, Exception exception)
Parameters
Type Name Description
ISessionId sessionId

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

Exception exception

The exception for the error result.

Back to top