User Manual, Developers Guide and API Documentation

wns::ldk::arq::GoBackNCommand Class Reference

Command used by the GoBackN ARQ implementation. More...

#include <ldk/arq/GoBackN.hpp>

Inheritance diagram for wns::ldk::arq::GoBackNCommand:

Inheritance graph
[legend]
Collaboration diagram for wns::ldk::arq::GoBackNCommand:

Collaboration graph
[legend]

List of all members.

Public Types

enum  FrameType { I, ACK, NAK }

Public Member Functions

FrameType getFrameType () const
SequenceNumber getNS () const
 GoBackNCommand ()
bool isACK () const
void setNS (const SequenceNumber &SN)

Public Attributes

struct {
local
struct {
magic
struct {
   int   NS
   FrameType   type
peer


Detailed Description

Author:
Rainer Schoenen <rs@comnets.rwth-aachen.de>

Definition at line 63 of file GoBackN.hpp.


Member Enumeration Documentation

I - Information Frame ACK - received packet acknowledged (ACK) NAK - certain packet missing (NAK)

Enumerator:
I 
ACK 
NAK 

Definition at line 72 of file GoBackN.hpp.


Constructor & Destructor Documentation

wns::ldk::arq::GoBackNCommand::GoBackNCommand (  )  [inline]

Definition at line 74 of file GoBackN.hpp.


Member Function Documentation

FrameType wns::ldk::arq::GoBackNCommand::getFrameType (  )  const [inline]

Definition at line 93 of file GoBackN.hpp.

SequenceNumber wns::ldk::arq::GoBackNCommand::getNS (  )  const [inline]

Definition at line 87 of file GoBackN.hpp.

bool wns::ldk::arq::GoBackNCommand::isACK (  )  const [inline, virtual]

Implements wns::ldk::arq::ARQCommand.

Definition at line 99 of file GoBackN.hpp.

void wns::ldk::arq::GoBackNCommand::setNS ( const SequenceNumber SN  )  [inline]

Definition at line 81 of file GoBackN.hpp.


Member Data Documentation

Definition at line 107 of file GoBackN.hpp.

Definition at line 106 of file GoBackN.hpp.


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

Generated on Sat May 26 03:32:55 2012 for openWNS by  doxygen 1.5.5