File: Underlay/SimpleUnderlay/SimpleUDPPacket.msg
Represents an UDP packet, to be used with the UDP module.
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Value | Description |
---|---|---|
omitGetVerb | true | If turned on, generates field getter methods without the "get" word, e.g. a field called destAddr can be read by method destAddr() and not getDestAddr(). |
Name | Type | Description |
---|---|---|
sourcePort | int | source port of the message |
destinationPort | int | destination port of the message |
message SimpleUDPPacket { properties: omitGetVerb = true; // If turned on, generates field getter methods without // the "get" word, e.g. a field called destAddr can be // read by method destAddr() and not getDestAddr(). fields: int sourcePort = -1; // source port of the message int destinationPort = -1; //destination port of the message };