Enum MessageType

File: src/applications/tcpexampleapp/TCPExampleMessage.msg

first, we declare an enum to tell the message types apart:

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Source code:

// first, we declare an enum to tell the message types apart:
enum MessageType
{

    TCPEXMSG_PING = 1;           // outgoing message
    TCPEXMSG_PONG = 2;           // returning message
}