Node identifiers

The node identifiers are specified by declaring the pok_node_identifier_t type. It contains the value of each node identifier. Please also note that the POK_CONFIG_LOCAL_NODE value must be in this enum declaration. This enum declaration is THE SAME on all nodes of the distributed system.

When you use code generation, this declaration is automatically created in the deployment.h file.

There is an example of a such declaration

   typedef enum
   {
     node1 = 0,
     node2 = 1
   } pok_node_identifier_t;



Copyright 2009 POK Team