My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Enumerations
ctrl_runtime_messages.h File Reference

Definitions of structures for sending messages from the global controller to runtimes. More...

#include "dfg.h"
#include <unistd.h>
#include <stdbool.h>

Go to the source code of this file.

Classes

struct  ctrl_runtime_msg_hdr
 All messages sent from controller to runtime are prefixed with this header. More...
 
struct  ctrl_add_runtime_msg
 Payload for messages of type CTRL_CONNECT_TO_RUNTIME. More...
 
struct  ctrl_create_thread_msg
 Payload for messages of type CTRL_CREATE_THREAD. More...
 
struct  ctrl_delete_thread_msg
 Payload for messages of type CTRL_DELETE_THREAD. More...
 
struct  ctrl_route_msg
 Payload for messages of type CTRL_MODIFY_ROUTE. More...
 
struct  ctrl_create_msu_msg
 Payload for messages of type CTRL_CREATE_MSU. More...
 
struct  ctrl_delete_msu_msg
 Payload for messages of type CTRL_DELETE_MSU. More...
 
struct  ctrl_msu_route_msg
 Payload for messages of type CTRL_MSU_ROUTES. More...
 

Enumerations

enum  ctrl_runtime_msg_type {
  CTRL_CONNECT_TO_RUNTIME, CTRL_CREATE_THREAD, CTRL_DELETE_THREAD, CTRL_MODIFY_ROUTE,
  CTRL_CREATE_MSU, CTRL_DELETE_MSU, CTRL_MSU_ROUTES
}
 The various top-level types of messages which can be sent from the controller to runtimes. More...
 
enum  ctrl_route_msg_type {
  CREATE_ROUTE, DELETE_ROUTE, ADD_ENDPOINT, DEL_ENDPOINT,
  MOD_ENDPOINT
}
 Sub-types for messages of type CTRL_MODIFY_ROUTE, which have payload ctrl_route_msg. More...
 
enum  ctrl_msu_route_type { ADD_ROUTE, DEL_ROUTE }
 Sub-types for payloads of type CTRL_MSU_ROUTES. More...
 

Detailed Description

Definitions of structures for sending messages from the global controller to runtimes.

Definition in file ctrl_runtime_messages.h.

Enumeration Type Documentation

Sub-types for payloads of type CTRL_MSU_ROUTES.

Enumerator
ADD_ROUTE 

Adds a route to an MSU.

DEL_ROUTE 

Removes a route from an MSU.

Definition at line 154 of file ctrl_runtime_messages.h.

Sub-types for messages of type CTRL_MODIFY_ROUTE, which have payload ctrl_route_msg.

Each type corresponds to a different operation that can be used to modify route creation and membership. Not to be used to modify route subscription.

Enumerator
CREATE_ROUTE 

Creates a new route.

DELETE_ROUTE 

Deletes a route.

ADD_ENDPOINT 

Adds an endpoint to a route.

DEL_ENDPOINT 

Deletes an endpoint from a route.

MOD_ENDPOINT 

Modifies the key corresponding to a route endpoint.

Definition at line 105 of file ctrl_runtime_messages.h.

The various top-level types of messages which can be sent from the controller to runtimes.

Payload types the structures indicated in the comments below.

Enumerator
CTRL_CONNECT_TO_RUNTIME 

payload: ctrl_add_runtime_msg

CTRL_CREATE_THREAD 

payload: ctrl_create_thread_msg

CTRL_DELETE_THREAD 

payload: ctrl_delete_thread_msg

CTRL_MODIFY_ROUTE 

payload: ctrl_route_msg

CTRL_CREATE_MSU 

payload: ctrl_create_msu_msg

CTRL_DELETE_MSU 

payload: ctrl_delete_msu_msg

CTRL_MSU_ROUTES 

payload: ctrl_msu_route_msg

Definition at line 36 of file ctrl_runtime_messages.h.