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

GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager Class Reference

List of all members.

Public Member Functions

 RateManager (RemoteHostComms remoteHost)
void ResetConnection ()
RateInfo GetRateInfoForTx (bool IsAckable)
void ProcessReceivedSegmentHeaders (ref SegmentHeaders headers, uint dataLength)
void DecreaseSendCredit (int amount)
bool WaitForSend (uint datagramSize, int secondsToWait)
bool CanSend (uint datagramSize)

Detailed Description

<summary> Controls the rate at which packets are sent across the network </summary>

Definition at line 9 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.


Constructor & Destructor Documentation

GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::RateManager RemoteHostComms  remoteHost  )  [inline]
 

Constructors *

Definition at line 27 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

References GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RemoteHostComms::thisStack.


Member Function Documentation

bool GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::CanSend uint  datagramSize  )  [inline]
 

<summary> Determines if there is enough credit to send a datagram </summary> <param name="datagramSize">The number of bytes of data contained in the datagram</param> <returns>True if there is sufficient credit to send, false otherwise</returns>

Definition at line 144 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

void GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::DecreaseSendCredit int  amount  )  [inline]
 

<summary> Reduces the amount of send credit available </summary> <param name="amount">number of bytes to decrea</param>

Definition at line 109 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

RateInfo GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::GetRateInfoForTx bool  IsAckable  )  [inline]
 

Methods *

Definition at line 55 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

void GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::ProcessReceivedSegmentHeaders ref SegmentHeaders  headers,
uint  dataLength
[inline]
 

<summary> Adjusts credit information according to the received segment </summary> <param name="headers"></param> <param name="dataLength"></param>

Definition at line 79 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

void GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::ResetConnection  )  [inline]
 

<summary> Resets state after a connection goes down </summary>

Definition at line 37 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.

bool GPRSWeb::SmartDeviceClient::SmartProtocolStack::RemoteHost::RateManager::WaitForSend uint  datagramSize,
int  secondsToWait
[inline]
 

<summary> Determines if there is enough credit to send a datagram </summary> <param name="datagramSize">The number of bytes of data contained in the datagram</param> <returns>True if we got the lock back in time, false if timer expired</returns>

Definition at line 125 of file SmartDeviceClient/SmartProtocolStack/RemoteHost/RateManager.cs.


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