PhoenixSwarm  3.5.0
Library to ease communication between daemons
Loading...
Searching...
No Matches
MessageType Namespace Reference

Enumerations

enum  MessageType {
  NONE = 0 , STOP = 1 , KILL = 2 , MESSAGE_CONFIRMATION = 5 ,
  API_DISCOVERY = 6 , API_DESCRITPION = 7 , ADD_DAEMON = 8 , REMOVE_DAEMON = 9 ,
  CALL_DATA = 10 , RESULT_DATA = 11 , CALL_FUNCTION = 12 , RESULT_FUNCTION = 13 ,
  ERROR = 14
}
 Type of the Message which can be exchanged by Daemon. More...
 

Enumeration Type Documentation

◆ MessageType

Type of the Message which can be exchanged by Daemon.

Enumerator
NONE 
STOP 
KILL 
MESSAGE_CONFIRMATION 
API_DISCOVERY 
API_DESCRITPION 
ADD_DAEMON 
REMOVE_DAEMON 
CALL_DATA 
RESULT_DATA 
CALL_FUNCTION 
RESULT_FUNCTION 
ERROR 

Definition at line 16 of file MessageType.h.

16 {
17 NONE = 0, //Nothing to do
18 STOP = 1, //Stop the Daemon properly (it can stop current work before stopping)
19 KILL = 2, //Kill the Daemon (it will not stop current work properly)
20 MESSAGE_CONFIRMATION = 5,//Confirmation that the message of certain id was correctly distributed
21 API_DISCOVERY = 6, //Request the API (data and callable functions) of the Daemon
22 API_DESCRITPION = 7, //Send description of the API of the given Daemon
23 ADD_DAEMON = 8, //Add a Daemon in the map of all known Daemon
24 REMOVE_DAEMON = 9, //Remove a Daemon in the map of all known Daemon
25 CALL_DATA = 10, //Ask for a Data value of a Daemon
26 RESULT_DATA = 11, //Result of a Data value from a Deamon
27 CALL_FUNCTION = 12, //Call of a function on a Daemon
28 RESULT_FUNCTION = 13, //Result of a called function from a Deamon
29 ERROR = 14 //Error on a function call from a Daemon
30 };
@ MESSAGE_CONFIRMATION
Definition MessageType.h:20