Main Page | Class Hierarchy | Class List | File List | Class Members

Client::PendingRequest Class Reference

List of all members.

Public Member Functions

 PendingRequest (Uri uri, PendingRequestManager manager)
 PendingRequest (Uri uri, PendingRequestManager manager, Message messageToSend, IResponseHandler handler)
void AddRequestToWaitingList (Message messageToSend, IResponseHandler responseHandler)
void ProcessWaitingList (Message response)
void RemoveTopRequest ()
void SendNextRequest ()

Protected Member Functions

void CheckForExpiry (object obj)

Protected Attributes

Uri requestUri
Timer expiryTimer


int Count

Detailed Description

<summary> Holds list of requests for a given URI </summary>

Definition at line 11 of file PendingRequests.cs.

Constructor & Destructor Documentation

Client::PendingRequest::PendingRequest Uri  uri,
PendingRequestManager  manager

<summary> creates a new empty pending request for a given uri </summary> <param name="uri"></param>

Definition at line 40 of file PendingRequests.cs.

Client::PendingRequest::PendingRequest Uri  uri,
PendingRequestManager  manager,
Message  messageToSend,
IResponseHandler  handler

<summary> Creates a new Pending Request for a given URI and then adds an entry </summary> <param name="uri"></param> <param name="messageToSend"></param> <param name="handler"></param>

Definition at line 53 of file PendingRequests.cs.

Member Function Documentation

void Client::PendingRequest::AddRequestToWaitingList Message  messageToSend,
IResponseHandler  responseHandler

<summary> Adds a HTTP request to a list of requests that will be fulfiled on arrival of the appropriate response </summary> <param name="httpRequest"></param>

Definition at line 61 of file PendingRequests.cs.

void Client::PendingRequest::RemoveTopRequest  )  [inline]

<summary> Call within locked block </summary>

Definition at line 117 of file PendingRequests.cs.

References Common::MessageLogger::Log(), and Client::PendingRequestManager::msgLog.

The documentation for this class was generated from the following file:
Generated on Mon May 8 22:07:27 2006 by  doxygen