From fa5985ed620c3cd4c7b9712b6b80a2e2c1a8ba31 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 6 Jun 2020 18:32:11 +0200 Subject: Rename task to node everywhere. --- src/message.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/message.h') diff --git a/src/message.h b/src/message.h index bb56932..876631c 100644 --- a/src/message.h +++ b/src/message.h @@ -30,7 +30,7 @@ #include #include -#include "task.h" +#include "node.h" namespace cmd { @@ -59,34 +59,34 @@ typedef struct typedef struct { - taskid_t id; + nodeid_t id; } subscribe_t; typedef struct { - taskid_t id; + nodeid_t id; } unsubscribe_t; typedef struct { - taskid_t id; - taskid_t parentid; + nodeid_t id; + nodeid_t parentid; } create_t; typedef struct { - taskid_t id; + nodeid_t id; } remove_t; typedef struct { - taskid_t id; - taskid_t parentid; + nodeid_t id; + nodeid_t parentid; } move_t; typedef struct { - taskid_t id; + nodeid_t id; std::string attribute; std::string value; } update_t; @@ -104,10 +104,10 @@ typedef struct move_t move; update_t update; - TaskIdList nodes; + NodeIdList nodes; // target node id (subscription node id) used for transmissions only. - taskid_t tid; + nodeid_t tid; } message_t; -- cgit v1.2.3