INET Framework for OMNeT++/OMNEST
inet::TcpSetTosCommand Class Reference

Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:150 by opp_msgtool. More...

#include <TcpCommand_m.h>

Inheritance diagram for inet::TcpSetTosCommand:
inet::TcpSetOptionCommand inet::TcpCommand

Public Member Functions

 TcpSetTosCommand ()
 
 TcpSetTosCommand (const TcpSetTosCommand &other)
 
virtual ~TcpSetTosCommand ()
 
TcpSetTosCommandoperator= (const TcpSetTosCommand &other)
 
virtual TcpSetTosCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual short getTos () const
 
virtual void setTos (short tos)
 
- Public Member Functions inherited from inet::TcpSetOptionCommand
 TcpSetOptionCommand ()
 
 TcpSetOptionCommand (const TcpSetOptionCommand &other)
 
virtual ~TcpSetOptionCommand ()
 
TcpSetOptionCommandoperator= (const TcpSetOptionCommand &other)
 
- Public Member Functions inherited from inet::TcpCommand
 TcpCommand ()
 
 TcpCommand (const TcpCommand &other)
 
virtual ~TcpCommand ()
 
TcpCommandoperator= (const TcpCommand &other)
 
virtual int getUserId () const
 
virtual void setUserId (int userId)
 

Protected Member Functions

bool operator== (const TcpSetTosCommand &)=delete
 
- Protected Member Functions inherited from inet::TcpSetOptionCommand
bool operator== (const TcpSetOptionCommand &)=delete
 
- Protected Member Functions inherited from inet::TcpCommand
bool operator== (const TcpCommand &)=delete
 

Protected Attributes

short tos = 0
 
- Protected Attributes inherited from inet::TcpCommand
int userId = -1
 

Private Member Functions

void copy (const TcpSetTosCommand &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:150 by opp_msgtool.

class TcpSetTosCommand extends TcpSetOptionCommand
{
    short tos;   // type of service for Ipv4 / traffic class for Ipv6
}

Constructor & Destructor Documentation

◆ TcpSetTosCommand() [1/2]

inet::TcpSetTosCommand::TcpSetTosCommand ( )

◆ TcpSetTosCommand() [2/2]

inet::TcpSetTosCommand::TcpSetTosCommand ( const TcpSetTosCommand other)

◆ ~TcpSetTosCommand()

virtual inet::TcpSetTosCommand::~TcpSetTosCommand ( )
virtual

Member Function Documentation

◆ copy()

void inet::TcpSetTosCommand::copy ( const TcpSetTosCommand other)
private

◆ dup()

virtual TcpSetTosCommand* inet::TcpSetTosCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::TcpSetOptionCommand.

505 {return new TcpSetTosCommand(*this);}

◆ getTos()

virtual short inet::TcpSetTosCommand::getTos ( ) const
virtual

◆ operator=()

TcpSetTosCommand& inet::TcpSetTosCommand::operator= ( const TcpSetTosCommand other)

◆ operator==()

bool inet::TcpSetTosCommand::operator== ( const TcpSetTosCommand )
protecteddelete

◆ parsimPack()

virtual void inet::TcpSetTosCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::TcpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::TcpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setTos()

virtual void inet::TcpSetTosCommand::setTos ( short  tos)
virtual

Member Data Documentation

◆ tos

short inet::TcpSetTosCommand::tos = 0
protected

The documentation for this class was generated from the following file:
inet::TcpSetTosCommand::TcpSetTosCommand
TcpSetTosCommand()