summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h22
1 files changed, 11 insertions, 11 deletions
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 <list>
#include <string>
-#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;