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

Class generated from inet/networklayer/common/EchoPacket.msg:37 by nedtool. More...

#include <EchoPacket_m.h>

Inheritance diagram for inet::EchoPacket:

Public Member Functions

 EchoPacket (const char *name=nullptr, short kind=0)
 
 EchoPacket (const EchoPacket &other)
 
virtual ~EchoPacket ()
 
EchoPacketoperator= (const EchoPacket &other)
 
virtual EchoPacketdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const EchoPacket &)
 

Protected Attributes

int type
 

Private Member Functions

void copy (const EchoPacket &other)
 

Detailed Description

Class generated from inet/networklayer/common/EchoPacket.msg:37 by nedtool.

//
// Generic network protocol packet for testing network connectivity.
//
packet EchoPacket
{
    int type @enum(EchoProtocolType);
}

Constructor & Destructor Documentation

inet::EchoPacket::EchoPacket ( const char *  name = nullptr,
short  kind = 0 
)
inet::EchoPacket::EchoPacket ( const EchoPacket other)
virtual inet::EchoPacket::~EchoPacket ( )
virtual

Member Function Documentation

void inet::EchoPacket::copy ( const EchoPacket other)
private
virtual EchoPacket* inet::EchoPacket::dup ( ) const
inlineoverridevirtual
85 {return new EchoPacket(*this);}
EchoPacket(const char *name=nullptr, short kind=0)
virtual int inet::EchoPacket::getType ( ) const
virtual
EchoPacket& inet::EchoPacket::operator= ( const EchoPacket other)
bool inet::EchoPacket::operator== ( const EchoPacket )
protected
virtual void inet::EchoPacket::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Referenced by inet::doParsimPacking().

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

Referenced by inet::doParsimUnpacking().

virtual void inet::EchoPacket::setType ( int  type)
virtual

Member Data Documentation

int inet::EchoPacket::type
protected

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