Table of Contents

Class FilteredRequestCallbackDefault<TResponse>

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

The default implementation of the IFilteredRequestCallback<TResponse>. It logs calls on either DEBUG or WARN log level, depending on the result.

public class FilteredRequestCallbackDefault<TResponse> : DefaultStream, IStream, ICallback, IFilteredRequestCallback<TResponse>

Type Parameters

TResponse

The response type.

Inheritance
FilteredRequestCallbackDefault<TResponse>
Implements
Inherited Members

Remarks

Since 6.1

Methods

OnResponse(ISessionId, TResponse)

Called when a response has been received.

public virtual 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.

public virtual 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.