INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/common/EchoPacket.msg:37
by nedtool.
More...
#include <EchoPacket_m.h>
Public Member Functions | |
EchoPacket (const char *name=nullptr, short kind=0) | |
EchoPacket (const EchoPacket &other) | |
virtual | ~EchoPacket () |
EchoPacket & | operator= (const EchoPacket &other) |
virtual EchoPacket * | dup () 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) |
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); }
inet::EchoPacket::EchoPacket | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::EchoPacket::EchoPacket | ( | const EchoPacket & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
Referenced by inet::EchoProtocol::processPacket().
EchoPacket& inet::EchoPacket::operator= | ( | const EchoPacket & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::EchoProtocol::processEchoRequest(), and inet::EchoProtocol::sendEchoRequest().
|
protected |