My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
rt_controller_messages.h
Go to the documentation of this file.
1 /*
2 START OF LICENSE STUB
3  DeDOS: Declarative Dispersion-Oriented Software
4  Copyright (C) 2017 University of Pennsylvania, Georgetown University
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 END OF LICENSE STUB
19 */
24 #ifndef RT_CONTROLLER_MESSAGES_H_
25 #define RT_CONTROLLER_MESSAGES_H_
26 
33 };
34 
41  size_t payload_size;
42 };
43 
49  unsigned int runtime_id;
53  int port;
54 };
55 
56 #endif
size_t payload_size
Payload size.
rt_controller_msg_type
The types of messages which can be sent from controller to runtimes.
uint32_t ip
Local IP address with which the runtime listens for other runtimes.
Payload: output of serialize_stat_samples.
Header for all messages from controller to runtime.
Payload type: rt_controller_init_msg.
enum rt_controller_msg_type type
Type of payload attached.
int port
Port on which the runtime listens for other runtimes.
Initialization message, sent to controller to identify runtime upon first connection.
unsigned int runtime_id
Unique identifier for the runtime.
unsigned int uint32_t
Definition: uthash.h:96