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

Interface which specifies a request handler to receive request notifications. IResponder.Respond(object) must be called to dispatch a response to the request. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.IRequestHandler< TRequest, TResponse >:
PushTechnology.ClientInterface.Client.Callbacks.IStream PushTechnology.ClientInterface.Client.Callbacks.ICallback

Public Member Functions

void OnRequest (TRequest request, IRequestContext context, IResponder< TResponse > responder)
 Called to indicate that a request has been received. 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

Interface which specifies a request handler to receive request notifications. IResponder.Respond(object) must be called to dispatch a response to the request.

Since 6.1

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.IRequestHandler< TRequest, TResponse >.OnRequest ( TRequest  request,
IRequestContext  context,
IResponder< TResponse >  responder 
)

Called to indicate that a request has been received.

Parameters
requestThe received request.
contextThe context with necessary information about the request.
responderThe object used to dispatch a response to the requester.

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