INET Framework for OMNeT++/OMNEST
inet::tcp::SackItem Class Reference

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:116 by nedtool. More...

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::SackItem:
inet::tcp::Sack_Base inet::tcp::Sack

Public Member Functions

 SackItem ()
 
 SackItem (const SackItem &other)
 
virtual ~SackItem ()
 
SackItemoperator= (const SackItem &other)
 
virtual SackItemdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned int getStart () const
 
virtual void setStart (unsigned int start)
 
virtual unsigned int getEnd () const
 
virtual void setEnd (unsigned int end)
 

Protected Member Functions

bool operator== (const SackItem &)
 

Protected Attributes

unsigned int start
 
unsigned int end
 

Private Member Functions

void copy (const SackItem &other)
 

Detailed Description

Class generated from inet/transportlayer/tcp_common/TCPSegment.msg:116 by nedtool.

//
// This structure represents a single SACK (selective acknowledgment):
//
class SackItem
{
    unsigned int start;     // start seq no. of sack block
    unsigned int end;       // end seq no. of sack block
}

Constructor & Destructor Documentation

inet::tcp::SackItem::SackItem ( )
inet::tcp::SackItem::SackItem ( const SackItem other)
virtual inet::tcp::SackItem::~SackItem ( )
virtual

Member Function Documentation

void inet::tcp::SackItem::copy ( const SackItem other)
private
virtual SackItem* inet::tcp::SackItem::dup ( ) const
inlineoverridevirtual

Reimplemented in inet::tcp::Sack_Base, and inet::tcp::Sack.

152 {return new SackItem(*this);}
virtual unsigned int inet::tcp::SackItem::getEnd ( ) const
virtual
virtual unsigned int inet::tcp::SackItem::getStart ( ) const
virtual
SackItem& inet::tcp::SackItem::operator= ( const SackItem other)
bool inet::tcp::SackItem::operator== ( const SackItem )
protected
virtual void inet::tcp::SackItem::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented in inet::tcp::Sack_Base.

Referenced by inet::tcp::doParsimPacking().

virtual void inet::tcp::SackItem::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented in inet::tcp::Sack_Base.

Referenced by inet::tcp::doParsimUnpacking().

virtual void inet::tcp::SackItem::setEnd ( unsigned int  end)
virtual
virtual void inet::tcp::SackItem::setStart ( unsigned int  start)
virtual

Member Data Documentation

unsigned int inet::tcp::SackItem::end
protected
unsigned int inet::tcp::SackItem::start
protected

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