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

ProtocolStack::NACKManager Class Reference

List of all members.

Public Member Functions

 NACKManager (RemoteHostComms thisRemoteHost)
void ResetConnections ()
NackInfo GetNextNack ()
void ProcessReceivedSegmentHeaders (ref SegmentHeaders newHeaders)
void IssueNACK (uint segmentNumber)
void IssueNACK (uint segmentNumber, long range)

Detailed Description

<summary> Manages the issuing and receipt of Negative Acknowledgements (NACKS) for a specific client/server pair. </summary>

Definition at line 12 of file ProtocolStack/NACKManager.cs.


Constructor & Destructor Documentation

ProtocolStack::NACKManager::NACKManager RemoteHostComms  thisRemoteHost  )  [inline]
 

<summary> Creates a new NACK Manager, outputting NACKs and retransmissions into a given TransmissionQueue </summary>

Definition at line 23 of file ProtocolStack/NACKManager.cs.

References ProtocolStack::RemoteHostComms::TxQueue.


Member Function Documentation

NackInfo ProtocolStack::NACKManager::GetNextNack  )  [inline]
 

<summary> returns null if no nacks waiting otherwise returns the next nack to be issued. </summary> <returns>Next NACK to be issued, or null if there are none</returns>

Definition at line 39 of file ProtocolStack/NACKManager.cs.

References ProtocolStack::NackQueue::Dequeue(), and ProtocolStack::NackQueue::IsEmpty.

void ProtocolStack::NACKManager::IssueNACK uint  segmentNumber,
long  range
[inline]
 

<summary> Initiates the issuing of a contigious multi-segment NACK </summary> <param name="segmentNumber">Sequence number of the first missing segment in the sequence</param> <param name="Range">The number of subsequent missing segments</param>

Definition at line 88 of file ProtocolStack/NACKManager.cs.

void ProtocolStack::NACKManager::IssueNACK uint  segmentNumber  )  [inline]
 

<summary> Initiates the issuing of a single-segment NACK </summary> <param name="segmentNumber">Sequence number of the missing segment</param>

Definition at line 79 of file ProtocolStack/NACKManager.cs.


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