Packet CommonAPIMessage

File: src/common/CommonMessages.msg

C++ definition

Base class for all common API message types

Author: Bernhard Heep

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.

Known subclasses:

Name Type Description
KBRdeliver packet

Message type for information sent from the overlay to the application

KBRforward packet

Message type for KBR forward calls

KBRroute packet

Message type for KBR route calls

KBRupdate packet

Message type to inform overlay nodes about new or left nodes

Fields:

Name Type Description
type int

message type

Source code:

//
// Base class for all common API message types
//
// @author Bernhard Heep
//
packet CommonAPIMessage
{
    int type @enum(CommonAPIMessageType) = COMMON_API_UNDEFINED;  // message type
}