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
TResponseThe response type.
- Inheritance
-
FilteredRequestCallbackDefault<TResponse>
- Implements
-
IFilteredRequestCallback<TResponse>
- 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
sessionIdISessionIdThe session identifier of the session that has sent the response.
responseTResponseThe response.
OnResponseError(ISessionId, Exception)
Called upon a response error from the session.
public virtual void OnResponseError(ISessionId sessionId, Exception exception)
Parameters
sessionIdISessionIdThe session identifier of the session that has sent the response.
exceptionExceptionThe exception for the error result.