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

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

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOptionWindowScale:
inet::tcp::TCPOption

Public Member Functions

 TCPOptionWindowScale ()
 
 TCPOptionWindowScale (const TCPOptionWindowScale &other)
 
virtual ~TCPOptionWindowScale ()
 
TCPOptionWindowScaleoperator= (const TCPOptionWindowScale &other)
 
virtual TCPOptionWindowScaledup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getWindowScale () const
 
virtual void setWindowScale (unsigned short windowScale)
 
- Public Member Functions inherited from inet::tcp::TCPOption
 TCPOption ()
 
 TCPOption (const TCPOption &other)
 
virtual ~TCPOption ()
 
TCPOptionoperator= (const TCPOption &other)
 
virtual unsigned short getKind () const
 
virtual void setKind (unsigned short kind)
 
virtual unsigned short getLength () const
 
virtual void setLength (unsigned short length)
 

Protected Member Functions

bool operator== (const TCPOptionWindowScale &)
 
- Protected Member Functions inherited from inet::tcp::TCPOption
bool operator== (const TCPOption &)
 

Protected Attributes

unsigned short windowScale
 
- Protected Attributes inherited from inet::tcp::TCPOption
unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOptionWindowScale &other)
 

Detailed Description

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

class TCPOptionWindowScale extends TCPOption
{
    kind = TCPOPTION_WINDOW_SCALE;
    length = 3;
    unsigned short windowScale;   // uint8_t
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::tcp::TCPOption.

406 {return new TCPOptionWindowScale(*this);}
virtual unsigned short inet::tcp::TCPOptionWindowScale::getWindowScale ( ) const
virtual
TCPOptionWindowScale& inet::tcp::TCPOptionWindowScale::operator= ( const TCPOptionWindowScale other)
bool inet::tcp::TCPOptionWindowScale::operator== ( const TCPOptionWindowScale )
protected
virtual void inet::tcp::TCPOptionWindowScale::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

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

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionWindowScale::setWindowScale ( unsigned short  windowScale)
virtual

Member Data Documentation

unsigned short inet::tcp::TCPOptionWindowScale::windowScale
protected

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