00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #include <LinearIdTrait.h>
00013 #include <string>
00014
00015 using namespace std;
00016 using namespace channel;
00017
00019 string IdTrait<string>::CHANNEL_CONN_MSG = "_CHANNEL_CONN_MSG_";
00020 string IdTrait<string>::CHANNEL_DISCONN_MSG = "_CHANNEL_DISCONN_MSG_";
00021 string IdTrait<string>::INIT_SUBSCRIPTION_INFO_MSG = "_INIT_SUBSCRIPTION_INFO_MSG_";
00022 string IdTrait<string>::INIT_PUBLICATION_INFO_MSG = "_INIT_PUBLICATION_INFO_MSG_";
00023 string IdTrait<string>::SUBSCRIPTION_INFO_MSG = "_SUBSCRIPTION_INFO_MSG_";
00024 string IdTrait<string>::UNSUBSCRIPTION_INFO_MSG = "_UNSUBSCRIPTION_INFO_MSG_";
00025 string IdTrait<string>::PUBLICATION_INFO_MSG = "_PUBLICATION_INFO_MSG_";
00026 string IdTrait<string>::UNPUBLICATION_INFO_MSG = "_UNPUBLICATION_INFO_MSG_";
00027
00029 StructId IdTrait<StructId>::CHANNEL_CONN_MSG = {SYSTEM_MESSAGE, 1};
00030 StructId IdTrait<StructId>::CHANNEL_DISCONN_MSG = {SYSTEM_MESSAGE, 2};
00031 StructId IdTrait<StructId>::INIT_SUBSCRIPTION_INFO_MSG = {SYSTEM_MESSAGE, 3};
00032 StructId IdTrait<StructId>::INIT_PUBLICATION_INFO_MSG = {SYSTEM_MESSAGE, 4};
00033 StructId IdTrait<StructId>::SUBSCRIPTION_INFO_MSG = {SYSTEM_MESSAGE, 5};
00034 StructId IdTrait<StructId>::UNSUBSCRIPTION_INFO_MSG = {SYSTEM_MESSAGE, 6};
00035 StructId IdTrait<StructId>::PUBLICATION_INFO_MSG = {SYSTEM_MESSAGE, 7};
00036 StructId IdTrait<StructId>::UNPUBLICATION_INFO_MSG = {SYSTEM_MESSAGE, 8};