EPONImplementationforOMNet++  0.8Beta
EPON_LLidCtrlInfo Class Reference

EPON_LLidCtrlInfo extends cObject and is used for ControlInfo carried in the messages. More...

#include <EPON_CtrlInfo.h>

List of all members.

Public Member Functions

 EPON_LLidCtrlInfo ()
 EPON_LLidCtrlInfo (int lid)
virtual ~EPON_LLidCtrlInfo ()
virtual cObject * dup () const
virtual std::string info () const

Public Attributes

int llid

Detailed Description

EPON_LLidCtrlInfo extends cObject and is used for ControlInfo carried in the messages.

It currently contains only LLID (Logical Link ID) information. This information are added by the module generated the message OR by the RelayUnit which is responsible for traffic differentiation. Finally, this is used in the EPON_mac module in order to generate the correct Ethernet preamble.

The methods are the classical ones: Constructor/Destructor, dup() and info() (needed to extend cObject).


Constructor & Destructor Documentation

                                           {
      llid = lid;
}
                                      {
      // TODO Auto-generated destructor stub
}

Member Function Documentation

cObject * EPON_LLidCtrlInfo::dup ( ) const [virtual]
                                      {
      return new EPON_LLidCtrlInfo(llid);
}
std::string EPON_LLidCtrlInfo::info ( ) const [virtual]
                                       {
      std::string ret="LLiD: ";
      char tos[10];
      sprintf(tos,"%d",llid);
      return ret+tos;
}

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines