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

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

#include <TCPSegment_m.h>

Inheritance diagram for inet::tcp::TCPOptionTimestamp:
inet::tcp::TCPOption

Public Member Functions

 TCPOptionTimestamp ()
 
 TCPOptionTimestamp (const TCPOptionTimestamp &other)
 
virtual ~TCPOptionTimestamp ()
 
TCPOptionTimestampoperator= (const TCPOptionTimestamp &other)
 
virtual TCPOptionTimestampdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint32_t getSenderTimestamp () const
 
virtual void setSenderTimestamp (uint32_t senderTimestamp)
 
virtual uint32_t getEchoedTimestamp () const
 
virtual void setEchoedTimestamp (uint32_t echoedTimestamp)
 
- 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 TCPOptionTimestamp &)
 
- Protected Member Functions inherited from inet::tcp::TCPOption
bool operator== (const TCPOption &)
 

Protected Attributes

uint32_t senderTimestamp
 
uint32_t echoedTimestamp
 
- Protected Attributes inherited from inet::tcp::TCPOption
unsigned short kind
 
unsigned short length
 

Private Member Functions

void copy (const TCPOptionTimestamp &other)
 

Detailed Description

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

class TCPOptionTimestamp extends TCPOption
{
    kind = TCPOPTION_TIMESTAMP;
    length = 10;
    uint32_t senderTimestamp;
    uint32_t echoedTimestamp;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::tcp::TCPOption.

528 {return new TCPOptionTimestamp(*this);}
virtual uint32_t inet::tcp::TCPOptionTimestamp::getEchoedTimestamp ( ) const
virtual
virtual uint32_t inet::tcp::TCPOptionTimestamp::getSenderTimestamp ( ) const
virtual
TCPOptionTimestamp& inet::tcp::TCPOptionTimestamp::operator= ( const TCPOptionTimestamp other)
bool inet::tcp::TCPOptionTimestamp::operator== ( const TCPOptionTimestamp )
protected
virtual void inet::tcp::TCPOptionTimestamp::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::tcp::TCPOption.

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

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

Reimplemented from inet::tcp::TCPOption.

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

virtual void inet::tcp::TCPOptionTimestamp::setEchoedTimestamp ( uint32_t  echoedTimestamp)
virtual
virtual void inet::tcp::TCPOptionTimestamp::setSenderTimestamp ( uint32_t  senderTimestamp)
virtual

Member Data Documentation

uint32_t inet::tcp::TCPOptionTimestamp::echoedTimestamp
protected
uint32_t inet::tcp::TCPOptionTimestamp::senderTimestamp
protected

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