#include <UDPPacket_m.h>
UDPPacket.msg by opp_msgc.
message UDPPacket
{
properties:
omitGetVerb = true;
fields:
int sourcePort = -1;
int destinationPort = -1;
};
Public Member Functions | |
| UDPPacket (const char *name=NULL, int kind=0) | |
| UDPPacket (const UDPPacket &other) | |
| virtual | ~UDPPacket () |
| UDPPacket & | operator= (const UDPPacket &other) |
| virtual cPolymorphic * | dup () const |
| virtual void | netPack (cCommBuffer *b) |
| virtual void | netUnpack (cCommBuffer *b) |
| virtual int | sourcePort () const |
| virtual void | setSourcePort (int sourcePort_var) |
| virtual int | destinationPort () const |
| virtual void | setDestinationPort (int destinationPort_var) |
Protected Member Functions | |
| bool | operator== (const UDPPacket &) |
Protected Attributes | |
| int | sourcePort_var |
| int | destinationPort_var |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
00049 {return new UDPPacket(*this);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.0