Messages.h

Go to the documentation of this file.
00001 #ifndef MESSAGES_H
00002 #define MESSAGES_H
00003 
00004 /* this file contains all message types used by the DS plataform */
00005 
00006 /** Filter(or pvm) to manager tags 
00007  * filter->manager messages use the tag as its type
00008 */
00009 
00010 #define MSGT_TEXIT      1 /** used to notify a task exit, from pvm, dont change this */
00011 #define MSGT_HDEL       2 /** used to notify host delete, crash, dont change this */
00012 #define MSGT_AEXIT      3 /** used to notify manager the application called exit(dsExit) */
00013 #define MSGT_EOW        4 /** used to notify manager this filter ended its work */
00014 #define MSGT_FERROR     5 /** used to notify manager some system error happened, and filter is aborting, similar to AEXIT */
00015 #define MSGT_LOCALTERM  6 /** used to notify manager this filter has nothing to do **/
00016 #define MSGT_CREATETASK 7 /** used to notify filter a new task **/
00017 #define MSGT_ENDTASK    8 /** used to notify filter the end of a task **/
00018 
00019 
00020 /** Manager to host messages
00021  * manager->filter message has the type encapsulated, as the tag is already used for stream identifying
00022 */
00023 
00024 #define MSGT_EOF        101 /** if the message type is end of filter, which means, all done */
00025 #define MSGT_WORK       102 /** if the message type is a work */
00026 #define MSGT_FT   103 /** if the message type is fault tolerance, which means, all filters are going to begin in a global state */ 
00027 
00028 /** Filter to Filter message(stream) */
00029 #define MSGT_F2F        201 /** all filter to filter messages should have this */
00030 #define MSGT_INITTERM 202 /** filters send to their neighbors when they think there is nothing to be done */
00031 #endif

Generated on Tue Jan 17 19:18:38 2006 for Void by  doxygen 1.4.6