EchoPacket¶
Namespace: inet
class EchoPacket
Generic network protocol packet for testing network connectivity.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
||
type |
||
identifier |
int |
identifier to aid in matching Echo replies. May be Zero |
seqNumber |
int |
sequence number to aid in matching Echo replies. May be Zero |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Generic network protocol packet for testing network connectivity.
//
class EchoPacket extends FieldsChunk
{
chunkLength = B(6);
EchoProtocolType type;
int identifier; // identifier to aid in matching Echo replies. May be Zero
int seqNumber; // sequence number to aid in matching Echo replies. May be Zero
}