00001 #ifndef DIST_BOSS_CODE_H 00002 #define DIST_BOSS_CODE_H 00003 00004 class DistBossCode { 00005 00006 public : 00007 00008 enum ClientCode { 00009 GetEvent = 0x80000001, 00010 GetFileName = 0x80000002, 00011 StatusFinalize = 0x80000003, 00012 ClientReady = 0x80000004, 00013 RetryEvent = 0x80000005, 00014 ClientError = 0x80000100 00015 }; 00016 00017 enum ServerCode { 00018 NoMoreEvents = 0x40000001, 00019 StatusSuccess = 0x40000002, 00020 ServerFinalize = 0x40000003, 00021 ServerError = 0x40000100, 00022 ServerTimeout = 0x40000101 00023 }; 00024 }; 00025 00026 #endif