INET Framework for OMNeT++/OMNEST
TCPOption Class Reference

#include <TCPSegment_m.h>

List of all members.

Public Member Functions

 TCPOption ()
 TCPOption (const TCPOption &other)
virtual ~TCPOption ()
TCPOptionoperator= (const TCPOption &other)
virtual TCPOptiondup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual unsigned short getKind () const
virtual void setKind (unsigned short kind)
virtual unsigned short getLength () const
virtual void setLength (unsigned short length)
virtual void setValuesArraySize (unsigned int size)
virtual unsigned int getValuesArraySize () const
virtual unsigned int getValues (unsigned int k) const
virtual void setValues (unsigned int k, unsigned int values)

Protected Member Functions

bool operator== (const TCPOption &)

Protected Attributes

unsigned short kind_var
unsigned short length_var
unsigned int * values_var
unsigned int values_arraysize

Private Member Functions

void copy (const TCPOption &other)

Detailed Description

Class generated from transport/tcp/TCPSegment.msg by opp_msgc.

 class TCPOption
 {
     unsigned short kind enum(TCPOptionNumbers) = TCPOPTION_END_OF_OPTION_LIST;  
     unsigned short length = 1;                          
     unsigned int values[];                              
 }
 

Definition at line 159 of file TCPSegment_m.h.


Constructor & Destructor Documentation

Referenced by dup().

TCPOption::TCPOption ( const TCPOption other)
virtual TCPOption::~TCPOption ( ) [virtual]

Member Function Documentation

void TCPOption::copy ( const TCPOption other) [private]
virtual TCPOption* TCPOption::dup ( ) const [inline, virtual]

Definition at line 179 of file TCPSegment_m.h.

{return new TCPOption(*this);}
TCPOption& TCPOption::operator= ( const TCPOption other)
bool TCPOption::operator== ( const TCPOption ) [protected]
virtual void TCPOption::parsimPack ( cCommBuffer *  b) [virtual]

Referenced by doPacking().

virtual void TCPOption::parsimUnpack ( cCommBuffer *  b) [virtual]

Referenced by doUnpacking().

virtual void TCPOption::setKind ( unsigned short  kind) [virtual]
virtual void TCPOption::setLength ( unsigned short  length) [virtual]
virtual void TCPOption::setValues ( unsigned int  k,
unsigned int  values 
) [virtual]

Member Data Documentation

unsigned short TCPOption::kind_var [protected]

Definition at line 162 of file TCPSegment_m.h.

unsigned short TCPOption::length_var [protected]

Definition at line 163 of file TCPSegment_m.h.

unsigned int TCPOption::values_arraysize [protected]

Definition at line 165 of file TCPSegment_m.h.

unsigned int* TCPOption::values_var [protected]

Definition at line 164 of file TCPSegment_m.h.


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