L:/channel/channel/src/LinearIdTrait.cpp

Go to the documentation of this file.
00001 
00002 // Copyright (c) 2005, 2006 Yigong Liu
00003 // Permission to use, copy, modify, distribute and sell this software for any 
00004 //     purpose is hereby granted without fee, provided that the above copyright 
00005 //     notice appear in all copies and that both that copyright notice and this 
00006 //     permission notice appear in supporting documentation.
00007 // The author makes no representations about the 
00008 //     suitability of this software for any purpose. It is provided "as is" 
00009 //     without express or implied warranty.
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};

Generated on Mon Feb 27 19:59:21 2006 for channel by  doxygen 1.4.6-NO