C# / .Net API Library Reference  4.3.2-74-ge1d4cca
Public Functions
RequestManager Class Reference

The RequestManager class provides methods to register and unregister request handlers.

Public Functions

void HandleRequest (RequestInfo request)
 
void RegisterRequestHandler (string destination, IRequestHandler handler)
 
bool UnregisterRequestHandler (string destination, IRequestHandler handler)
 
Constructors and Destructors
 RequestManager ()
 

Usage Description

void HandleRequest ( RequestInfo  request)
inline

Handles the specified request.

void RegisterRequestHandler ( string  destination,
IRequestHandler  handler 
)
inline

Registers a request handler with StateManager.

Parameters
destinationThe name that you want to give the handler. This will serve as the handler's unique identifier when sending requests to it.
handlerThe handler function that will be executed when the request is received.

Implements IRequestManager.

bool UnregisterRequestHandler ( string  destination,
IRequestHandler  handler 
)
inline

Unregisters the specified request handler from StateManager.

Parameters
destinationThe name that you gave the handler when you registered it.
handlerThe handler that you are unregistering.

Implements IRequestManager.