Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EtherFrameWithLLC Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherFrameWithLLC:

EtherFrame List of all members.

Public Methods

 EtherFrameWithLLC (const char *name=NULL, int kind=0)
 EtherFrameWithLLC (const EtherFrameWithLLC &other)
virtual ~EtherFrameWithLLC ()
EtherFrameWithLLC & operator= (const EtherFrameWithLLC &other)
virtual cObject * dup () const
virtual int getSsap () const
virtual void setSsap (int ssap_var)
virtual int getDsap () const
virtual void setDsap (int dsap_var)
virtual int getControl () const
virtual void setControl (int control_var)

Protected Attributes

int ssap_var
int dsap_var
int control_var

Constructor & Destructor Documentation

EtherFrameWithLLC::EtherFrameWithLLC const char *    name = NULL,
int    kind = 0
 

Definition at line 374 of file EtherFrame_m.cc.

References control_var, dsap_var, and ssap_var.

Referenced by dup().

00374                                                                : EtherFrame(name,kind)
00375 {
00376     unsigned int i;
00377     this->ssap_var = 0;
00378     this->dsap_var = 0;
00379     this->control_var = 0;
00380 }

EtherFrameWithLLC::EtherFrameWithLLC const EtherFrameWithLLC &    other
 

Definition at line 382 of file EtherFrame_m.cc.

References operator=().

00382                                                                    : EtherFrame()
00383 {
00384     unsigned int i;
00385     setName(other.name());
00386     operator=(other);
00387 }

EtherFrameWithLLC::~EtherFrameWithLLC   [virtual]
 

Definition at line 389 of file EtherFrame_m.cc.

00390 {
00391     unsigned int i;
00392 }


Member Function Documentation

virtual cObject* EtherFrameWithLLC::dup   const [inline, virtual]
 

Reimplemented from EtherFrame.

Definition at line 64 of file EtherFrame_m.h.

References EtherFrameWithLLC().

00064 {return new EtherFrameWithLLC(*this);}

int EtherFrameWithLLC::getControl   const [virtual]
 

Definition at line 425 of file EtherFrame_m.cc.

References control_var.

Referenced by EtherFrameWithLLCDescriptor::getFieldAsString().

00426 {
00427     return control_var;
00428 }

int EtherFrameWithLLC::getDsap   const [virtual]
 

Definition at line 415 of file EtherFrame_m.cc.

References dsap_var.

Referenced by EtherFrameWithLLCDescriptor::getFieldAsString(), and EtherLLC::processFrameFromMAC().

00416 {
00417     return dsap_var;
00418 }

int EtherFrameWithLLC::getSsap   const [virtual]
 

Definition at line 405 of file EtherFrame_m.cc.

References ssap_var.

Referenced by EtherFrameWithLLCDescriptor::getFieldAsString(), and EtherLLC::processFrameFromMAC().

00406 {
00407     return ssap_var;
00408 }

EtherFrameWithLLC & EtherFrameWithLLC::operator= const EtherFrameWithLLC &    other
 

Definition at line 394 of file EtherFrame_m.cc.

References control_var, dsap_var, EtherFrame::operator=(), and ssap_var.

Referenced by EtherFrameWithLLC().

00395 {
00396     if (this==&other) return *this;
00397     unsigned int i;
00398     EtherFrame::operator=(other);
00399     this->ssap_var = other.ssap_var;
00400     this->dsap_var = other.dsap_var;
00401     this->control_var = other.control_var;
00402     return *this;
00403 }

void EtherFrameWithLLC::setControl int    control_var [virtual]
 

Definition at line 430 of file EtherFrame_m.cc.

References control_var.

Referenced by EtherLLC::processPacketFromHigherLayer(), and EtherFrameWithLLCDescriptor::setFieldAsString().

00431 {
00432     this->control_var = control_var;
00433 }

void EtherFrameWithLLC::setDsap int    dsap_var [virtual]
 

Definition at line 420 of file EtherFrame_m.cc.

References dsap_var.

Referenced by EtherLLC::processPacketFromHigherLayer(), and EtherFrameWithLLCDescriptor::setFieldAsString().

00421 {
00422     this->dsap_var = dsap_var;
00423 }

void EtherFrameWithLLC::setSsap int    ssap_var [virtual]
 

Definition at line 410 of file EtherFrame_m.cc.

References ssap_var.

Referenced by EtherLLC::processPacketFromHigherLayer(), and EtherFrameWithLLCDescriptor::setFieldAsString().

00411 {
00412     this->ssap_var = ssap_var;
00413 }


Member Data Documentation

int EtherFrameWithLLC::control_var [protected]
 

Definition at line 58 of file EtherFrame_m.h.

Referenced by EtherFrameWithLLC(), getControl(), operator=(), and setControl().

int EtherFrameWithLLC::dsap_var [protected]
 

Definition at line 57 of file EtherFrame_m.h.

Referenced by EtherFrameWithLLC(), getDsap(), operator=(), and setDsap().

int EtherFrameWithLLC::ssap_var [protected]
 

Definition at line 56 of file EtherFrame_m.h.

Referenced by EtherFrameWithLLC(), getSsap(), operator=(), and setSsap().


The documentation for this class was generated from the following files:
Generated on Sat May 15 20:30:46 2004 for Ethernet by doxygen1.2.17